For the given circuit, the input digital signals are applied at the terminals A,B and C. What would be the output at the terminal y?