Run id: 95056

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