import java.util.*;
class Main{
	static Scanner s = new Scanner(System.in);
	public static void main(String[] args) {
		int[] i = {
				Integer.parseInt(s.next()),
				Integer.parseInt(s.next()),
				Integer.parseInt(s.next())
				};
		Arrays.sort(i);
		System.out.print  (i[0]);
		System.out.print  (" ");
		System.out.print  (i[1]);
		System.out.print  (" ");
		System.out.println(i[2]);
	}
} import java.util.*; util.* java class Main{
	static Scanner s = new Scanner(System.in);
	public static void main(String[] args) {
		int[] i = {
				Integer.parseInt(s.next()),
				Integer.parseInt(s.next()),
				Integer.parseInt(s.next())
				};
		Arrays.sort(i);
		System.out.print  (i[0]);
		System.out.print  (" ");
		System.out.print  (i[1]);
		System.out.print  (" ");
		System.out.println(i[2]);
	}
} Main static Scanner s = new Scanner(System.in); s new Scanner(System.in) public static void main(String[] args) {
		int[] i = {
				Integer.parseInt(s.next()),
				Integer.parseInt(s.next()),
				Integer.parseInt(s.next())
				};
		Arrays.sort(i);
		System.out.print  (i[0]);
		System.out.print  (" ");
		System.out.print  (i[1]);
		System.out.print  (" ");
		System.out.println(i[2]);
	} main {
		int[] i = {
				Integer.parseInt(s.next()),
				Integer.parseInt(s.next()),
				Integer.parseInt(s.next())
				};
		Arrays.sort(i);
		System.out.print  (i[0]);
		System.out.print  (" ");
		System.out.print  (i[1]);
		System.out.print  (" ");
		System.out.println(i[2]);
	} int[] i = {
				Integer.parseInt(s.next()),
				Integer.parseInt(s.next()),
				Integer.parseInt(s.next())
				}; i {
				Integer.parseInt(s.next()),
				Integer.parseInt(s.next()),
				Integer.parseInt(s.next())
				} Integer.parseInt(s.next()) Integer.parseInt Integer s.next() s.next s Integer.parseInt(s.next()) Integer.parseInt Integer s.next() s.next s Integer.parseInt(s.next()) Integer.parseInt Integer s.next() s.next s Arrays.sort(i) Arrays.sort Arrays i System.out.print  (i[0]) System.out.print System.out System System.out i[0] i 0 System.out.print  (" ") System.out.print System.out System System.out " " System.out.print  (i[1]) System.out.print System.out System System.out i[1] i 1 System.out.print  (" ") System.out.print System.out System System.out " " System.out.println(i[2]) System.out.println System.out System System.out i[2] i 2 String[] args args
import java.util.*;
class Main{
	static Scanner s = new Scanner(System.in);
	public static void main(String[] args) {
		int[] i = {
				Integer.parseInt(s.next()),
				Integer.parseInt(s.next()),
				Integer.parseInt(s.next())
				};
		Arrays.sort(i);
		System.out.print  (i[0]);
		System.out.print  (" ");
		System.out.print  (i[1]);
		System.out.print  (" ");
		System.out.println(i[2]);
	}
}