What is the output Y in the following circuit