Run id: 128551

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