A DEMUX with 4 outputs, 2 switches

Diagram