Sketch the output waveform from an AND gate for the inputs A and B shown in figure.