To get output 1 for the following circuit