Design a circuit that has a 3-bit binary input B2, B1, B0 (where B2 is most significant bit and B0 is least significant bit) and a single output (Z) specified as follows :
Z = 0, even numbers
Z = 1, odd numbers