Run id: 140339

------Input------
0
------Answer-----
340
------Your output-----
1000