Run id: 72460

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