s=n='' while 1:n,s=n and(n/31-2,chr(n%31+62)+s)or(input(s)%2**32,'\n')