The input to the circuit of Figure P14.1 is a square wave having a period of 2 s, maximum value of 5 V, and minimum value of 0 V. Assume all flip-flops are initially in the RESET state.
a. Explain what the circuit does.
b. Sketch the timing diagram, including the input and all four outputs.
