object Main {
  def main (args: Array[String]) {
    val input =  scala.io.StdIn.readLine().split(" ").map(_.toInt)
   
    List(input(0), input(1), input(2)) match{
      case l:List[Int] => println( l.sorted(Ordering[Int]).mkString(" ") )
      case _ => println("")
    }
  }
}