B) and the output waveform (Y) of a gate. Identify the gate .