2018 Problem 08

Is the equation for the output of the circuit correct?
​