上海迪士尼 會搶走 HK 迪士尼 遊客,
#Python
#UVA 10815
#Andys First Dictionary
from sys import stdin
from re import split
text = stdin.read()
text = text.strip().lower()
words = set(split(r[^a-z], text))
for word in sorted(words):
if(word):
print(word)