s = input().strip() correct = 'abcdefghijklmnopqrstuvwxyz' for i in range(26): if s[i] != correct[i]: print(f"{correct[i]}to{s[i]}") break