Run id: 7493

------Input------
13
------Answer-----
9994
------Your output-----
9987