user_input = input().split() print(*sorted([i for i in list(map(int, user_input)) if i >= 0]), '', end='')