Implementing F using a demultiplexer and an extra AND gate
Output F needs to be active for all odd numbers except 7. So... 

LSB to mux 20 input, mux outputs '0' for even numbers and '1' for odd numbers. AND gate detects 7, output to mux 21 input forces it to output '3' instead of '1'.