It is desired to design a code converter that converts from 84-2-1 code to BCD code. Find the output functions of the required combinational circuit.