Run id: 150096

------Input------
7
------Answer-----
616
------Your output-----