+---+--+---+ +---+---+---+---*---+---+---+---+ /Y0 |1 +--+ 16| VCC | S3| S2| S1| S0|/Y0|/Y1|...|/Y9| /Y1 |2 15| S0 +===+===+===+===*===+===+===+===+ /Y2 |3 14| S1 | 0 | 0 | 0 | 0 | 0 | Z | Z | Z | /Y3 |4 74 13| S2 | 0 | 0 | 0 | 1 | Z | 0 | Z | Z | /Y4 |5 145 12| S3 | . | . | . | . | Z | Z | . | Z | /Y5 |6 11| /Y9 | 1 | 0 | 0 | 1 | Z | Z | Z | 0 | /Y6 |7 10| /Y8 | 1 | 0 | 1 | X | Z | Z | Z | Z | GND |8 9| /Y7 | 1 | 1 | X | X | Z | Z | Z | Z | +----------+ +---+---+---+---*---+---+---+---+