The real time variation of input signals A and B are as shown below. If the inputs are fed into NAND gate, then select the output signal from the following.