The output waveform of the given logical circuit for the following inputs \( A \) and \( B \) as shown below, is: