fun main(args: Array<String>) {
    var str = readLine()
    if(str != null) {
        val ary = str.split(Regex("\\s+"))
        val v = arrayOf(ary[0].toInt(),ary[1].toInt(),ary[2].toInt())
        v.sort()
        println("${v[0]} ${v[1]} ${v[2]}")
    }
 }
