Run id: 106158

------Input------
9
------Answer-----
766
------Your output-----
19