Draw the output Y in the given combination of gates.
Step 1. Finding the output expression.
Here, the first gate is a NAND gate and both inputs are the same. When the inputs are the same then it behaves like a NOT gate.
The second gate is OR gate and the third gate is NOT gate.
Hence, the output is only when input and .
Step 2. Draw the output:
Therefore, the correct option is A.