while str = STDIN.gets
  n = str.split(" ")
  a = n[0].to_i
  b = n[1].to_i
  c = n[2].to_i

  if a > b
     n = b
     b = a
     a = n
  end

  if b > c
       n = b
       b = c
       c = n
  end

   if a > c
      n = a
      a = c
      c = n
   end

  if a > b
     n = b
     b = a
     a = n
  end

  puts "#{a} #{b} #{c}"

end