moji = list(input().rstrip()) seikai = list("abcdefghijklmnopqrstuvwxyz") a = "" b = "" for i in range(26): if moji[i] != seikai[i]: b = moji[i] a = seikai[i] print(a +"to"+ b)