#???????????°???????????????
Integer1,Integer2,Integer3 = gets.split(" ").map(&:to_i)
sortInteger = [Integer1,Integer2,Integer3]
for countA in 0..1     #??????????????????
	for count in 0..1
		if sortInteger[count] > sortInteger[count+1] then
			temp = sortInteger[count]
			sortInteger[count] = sortInteger[count+1]
			sortInteger[count+1] = temp
		end
	end
end

puts "#{sortInteger[0]} #{sortInteger[1]} #{sortInteger[2]}"