At least give me some hint to solve this problem
What problem? You need to explain what you are doing (I connected switches to pins x and x; I open the serial monitor; I press the switch attached to pin x) and what happens (the serial monitor shows yyyy).