import java.util.*

fun main(args: Array<String>) {
	val scan = Scanner(System.`in`)
	val a = scan.nextInt()
	val b = scan.nextInt()
	val c = scan.nextInt()
	println(arrayOf(a, b, c).sortedArray().joinToString(" "))
}
