Apple Interview Question

implement 4-2 priority decoder to 16-4.