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