Asequential circuit has two inputs and two outputs. The inputs (X1X2) represent a 2-bit binary number, N. If the present value of N is greater than the previous value, then Z1=1. If the present valueof N is less than the previous value, then Z2=1. Otherwise, Z1 andZ2 are 0. Derive a Mealy machine state diagram. (Hint: The minimumnumber of states is 5).