str1 = list("abcdefghijklmnopqrstuvwxyz") str2 = list(input()) output = ''.join(set(str1) ^ set(str2)) + "to" + ''.join([x for x in set(str2) if str2.count(x)==2]) print(output)