Run id: 112368

------Input------
10
------Answer-----
1023
------Your output-----
511