#Write a program that accepts a sequence of whitespace separated words as input and prints the words after removing all
# duplicate words and sorting them alphanumerically.

#Suppose the following input is supplied to the program:

#hello world and practice makes perfect and hello world again
#Then, the output should be:

#again and hello makes perfect practice world


data = input("Enter text separated by spaces: ").split(" ")
result = sorted(set(data))

for val in result:
    print(val, end=' ')


d956a67cf080bfb9b27799a3f06911b6b4a747fc
<mask token>

<mask token>
for val in result:
    print(val, end=' ')

data = input('Enter text separated by spaces: ').split(' ')
result = sorted(set(data))
for val in result:
    print(val, end=' ')

#Write a program that accepts a sequence of whitespace separated words as input and prints the words after removing all
# duplicate words and sorting them alphanumerically.

#Suppose the following input is supplied to the program:

#hello world and practice makes perfect and hello world again
#Then, the output should be:

#again and hello makes perfect practice world


data = input("Enter text separated by spaces: ").split(" ")
result = sorted(set(data))

for val in result:
    print(val, end=' ')

