st = list(input().split(' ')) st.sort() for i in range(len(st)): if st[i]==' ': pass elif i==0: print(st[i]) elif st[i] != st[i-1]: print(st[i])