f(x,y){x&&f(x/31u-2,x%31u+62);putchar(y);}main(b){for(;gets(&b);)f(atoi(),10);}