Run id: 120490

------Input------
3
------Answer-----
31
------Your output-----
31lnvalid3