+---+--+---+ +---+---+---*---+ A0 |1 +--+ 16| VCC |/OE| A | B |/Y | /Y0 |2 15| A5 +===+===+===*===+ A1 |3 14| /Y5 | 1 | X | X | Z | /OE |4 13| A4 | 0 | 0 | 0 | 1 | /Y1 |5 4502 12| B | 0 | 1 | 0 | 0 | A2 |6 11| /Y4 | 0 | X | 1 | 0 | /Y2 |7 10| A3 +---+---+---*---+ GND |8 9| /Y3 +----------+