To get an output 1 from the circuit shown in the figure