while gets
  a = $_.split.map(&:to_i)
  #a = $_.split(" ").map{|val| val.to_i}

  a.sort!.reverse!
  puts a*" "

  #puts a.join(" ")

  #for i in 0...a.size
  #  print " " if i != 0
  #  print a[i]
  #end
  #puts
end