i=2 for c in input():i+=ord(c);print(end="14025*3"[i%8])