7. Design a combinational circuit with three inputs \( A, B, C \) and three outputs \( x, y, z \). When the binary input is \( 0,1,2 \) or 3 , the binary output is one greater than the input. When the binar input is \( 4,5,6 \) or 7 , the binary output is one less than the input. 14. Sen switches operate the lamp in the following way :- if switches \( 1,3,5 \) and 7 are closed anv shitch 2 is open, or if switches 2,4 and 5 are closed and switch 3 is open, or if all sever shitches are closed, the lamp will light. Use NOT, AND and OR gates to show how th whitches must be connected. Design a logic circuit that will allow a signal to pass the output only when control inputs \( B \) ani are both \( \mathrm{HIGH} \), otherwise the output will stay LOW.