For the following circuit and given inputs A and B, choose the correct option for output ‘Y’ [2023]

(4)
