import java.util.*

fun main(args: Array<String>) {
    val list = arrayListOf<Int>()
    val scanner = Scanner(System.`in`)
    list.add(scanner.nextInt())
    list.add(scanner.nextInt())
    list.add(scanner.nextInt())
    list.sort()
    println(list.joinToString(" "))
}
