import scala.io.StdIn.readLine

object Main {

  def main(args: Array[String]) = {
      val n = readLine().split(" ").map(_.toInt).sorted
      val (a,b,c) = (n(0),n(1),n(2))
      println(a + " " + b + " " + c)
  }
}