Design a sequential Mealy circuit with two inputs A and B, and output X using JK flip-flops. The circuit produces an output X = 1 when it detects the sequence of either A = 00 or B = 11, otherwise X = 0. The sample input/output sequence is given below:
A 00011100010
B 10000111011
X 01100011101