Run id: 128552

------Input------
274
------Answer-----
338
------Your output-----
0