How to generate bar using decoder
As you don't mention the values 6 and 7  (110, 111) you can simplify this problem to a simple AND gate (2^2 AND 2^0). Using a very inexpensive 4011 NAND gate gives the circuit below.



In view of Michael's comment (the OQ not being clear) the 16 outputs could be converted using three 7404 hex inverters.