What is the output Y in the following circuit, when all the three inputs A, B, C are first 0 and then 1 [2016]
(3)