fun main(args: Array<String>) {
    var str = readLine()
    if(str != null) {
        val ary = str.split(Regex("\\s+"))
        var data: Array<Int?> = arrayOfNulls(3)
        for(i in ary.indices) {
            data[i] = ary[i].toInt()
        }
        data.sort()
        println("${data[0]} ${data[1]} ${data[2]}")
    }
 }
