The logic circuit below has the input waveforms A and B as shown. Pick out the correct output waveform.