n2a=lambda x:chr(x+ord('a')) a2n=lambda x:ord(x)-ord('a') s=input() for i in range(26): if a2n(s[i])==i:continue print(f'{n2a(i)}to{s[i]}') exit()