Quantity   Component name
2 × CD4007UBE Logic ICs / Gates and Inverters
100 × Resistor 100k You need a lot resistors with acceptable tolerance values (at least 1%)
2 × Capacitor 100nF should be ceramic; for decoupling / reducing noise
1 × Microcontroller whatever fits the requirements
1 × MCP23016 Microprocessors, Microcontrollers, DSPs / IO Controllers
2 × Resistor 3.9k I2C bus PullUp resistors