import java.util.Scanner

object ThreeNumber {
  val sc = new Scanner(System.in)

  def input() :List[Int]  = {
    val a, b, c = sc.nextInt()
    List(a, b, c)
  }

  def run(): Unit ={
    val l1 = input()
    val l2 = l1.sorted
    val s = l2.mkString(" ")
    println(s)
  }
}


object Main extends App {
  ThreeNumber.run()
}