Run id: 116177

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