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