Consider a circuit that has three inputs A, B, and C and four outputs X, Y, Zand F (Flag). Let A, B, and C be the unsigned binary representation of the number W where W can take from 0 to 7. If W is in the range between 0 and4, then the outputs X, Y, and Z should be the unsigned binary representation of (W+3). For example, if A B C = 010, then X Y Z should be 101 and soon. If W is equal to 5, 6, or 7, the output X Y Z must be 000 and the Flag must be 1. In all other cases, Flag must be 0. Implement this circuit using only three of the following components/gates: • Decoders • Encoders • AND gates • OR gates • NOT gates.