f=lambda n:n*' 'and f(n/i)+chr(n%i+48+(n%i>9)*7) i=2;exec"print f(257);i+=1;"*35