The serial monitor displays only case 0

the circuit

https://forum.arduino.cc/t/multiple-buttons-single-pin/1324225/4