s = input() r = 'abcdefghijklmnopqrstuvwxyz' for i in range(26): if s[i] != r[i]: print(r[i]+'to'+s[i]) break