import scala.io.StdIn

/**
  * AOJ
  */
object Main {

  def main(args: Array[String]): Unit = {
    val in = StdIn.readLine().split(" ").map(s => s.toInt).toSeq.sorted
    println(in(0) + " " + in(1) + " " + in(2))
  }
}