74HC148 encoder here:
http://www.st.com/stonline/books/pdf/docs/1903.pdf

Page 7 has a schematic to cascade 2 chips with 16 inputs to 4 outputs. $0.31CAD when I buy 100 at DigiKey and I only need an AND and NOT gates to go along with them.

Robert