inp = input ()
my_list = [int(i) for i in inp.split() if int(i) >= 0]
my_list.sort()
print(*my_list,end=' ')
#converts user input into a list of integers using list comprehension, and adds the condition IF to remove the negative integers, then sorts the items of the list in place