A synchronous sequential circuit is to be used for generating the parity of a continuous stream of binary digits. The output of the circuit produces a logic 1 if the number of 1's received at the input is even; otherwise the output is at logic 0. Implement the circuit using JK flip-flops as memory elements.