def numSort(a, b, c)
	arr = [a, b, c]
	result = arr.sort
	return sprintf('%d %d %d', result[0], result[1], result[2])
end

input = gets.chomp
a, b, c = input.split(' ').map(&:to_i)
puts numSort(a, b, c)