Run id: 140532

------Input------
4
------Answer-----
33
------Your output-----
27