Run id: 7386

------Input------
10
------Answer-----
D
------Your output-----
31