Run id: 118165

------Input------
9
------Answer-----
766
------Your output-----
012345678