If \( X \) and \( Y \) are the inputs, the given circuit works as ________.
OR gate
AND gate
NAND gate
NOR gate