Gate 1992

A priority encoder accepts three input signals (A,B,C) and produce a two-bit output (X1,X0) corresponding to the highest priority active input signal. Assume A has the highest priority followed by B and C has the has the lowest priority. If none of the inputs are active the output should be 00. Design the priority encoder using 4:1multiplexers as the main components.