/**
  * http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_2_C
  * 3 ????????°?????´???
  * ???????????´??°?????????????????????????????????????°??????????????????????????????????????????°?????????????????????????????????
  */
object Main {
  def main(args: Array[String]): Unit = {
    val seq = io.StdIn.readLine().split(" +").map(_.toInt).toSeq
    val answer = seq.sorted.mkString(" ")
    println(answer)
  }
}