open Printf
open Scanf

let inputs x y z =
	let nums = Array.make 3 0 in
	nums.(0) <- x;
	nums.(1) <- y;
	nums.(2) <- z;
	Array.sort(compare) nums;
	printf "%d %d %d\n" nums.(0) nums.(1) nums.(2);;

Scanf.scanf "%d %d %d" inputs;;