object Main extends App {
	override def main(args: Array[String]) = {
		val sc = new java.util.Scanner(System.in)
		val a,b,c = sc.nextInt()
		
		val list = List(a,b,c)
		val res = solve(list)
		println(res(0) + " "+res(1)+" "+res(2))
		
	}
	
	def solve(list : List[Int]):List[Int] = {
		 list.sortWith(_ < _)
	}
	
}