import java.util.Arrays;
import java.util.Scanner;

/**
 * @author ??\???
 *
 */
public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		int[] ary = new int[3];
		
		Scanner scanner = new Scanner(System.in);
		for (int i = 0; i < ary.length; i++) {
			ary[i] = scanner.nextInt();
		}
		scanner.close();
		
		Arrays.sort(ary);
		
		for (int i = 0; i < ary.length - 1; i++) {
			System.out.print(ary[i] + " ");
		}
		System.out.println(ary[ary.length - 1]);
	}

} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		int[] ary = new int[3];
		
		Scanner scanner = new Scanner(System.in);
		for (int i = 0; i < ary.length; i++) {
			ary[i] = scanner.nextInt();
		}
		scanner.close();
		
		Arrays.sort(ary);
		
		for (int i = 0; i < ary.length - 1; i++) {
			System.out.print(ary[i] + " ");
		}
		System.out.println(ary[ary.length - 1]);
	}

} Main /**
	 * @param args
	 */
	public static void main(String[] args) {
		int[] ary = new int[3];
		
		Scanner scanner = new Scanner(System.in);
		for (int i = 0; i < ary.length; i++) {
			ary[i] = scanner.nextInt();
		}
		scanner.close();
		
		Arrays.sort(ary);
		
		for (int i = 0; i < ary.length - 1; i++) {
			System.out.print(ary[i] + " ");
		}
		System.out.println(ary[ary.length - 1]);
	} main {
		int[] ary = new int[3];
		
		Scanner scanner = new Scanner(System.in);
		for (int i = 0; i < ary.length; i++) {
			ary[i] = scanner.nextInt();
		}
		scanner.close();
		
		Arrays.sort(ary);
		
		for (int i = 0; i < ary.length - 1; i++) {
			System.out.print(ary[i] + " ");
		}
		System.out.println(ary[ary.length - 1]);
	} int[] ary = new int[3]; ary new int[3] 3 Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) for (int i = 0; i < ary.length; i++) {
			ary[i] = scanner.nextInt();
		} int i = 0; int i = 0; i 0 i < ary.length i ary.length ary ary.length i++ i++ i {
			ary[i] = scanner.nextInt();
		} {
			ary[i] = scanner.nextInt();
		} ary[i] = scanner.nextInt() ary[i] ary i scanner.nextInt() scanner.nextInt scanner scanner.close() scanner.close scanner Arrays.sort(ary) Arrays.sort Arrays ary for (int i = 0; i < ary.length - 1; i++) {
			System.out.print(ary[i] + " ");
		} int i = 0; int i = 0; i 0 i < ary.length - 1 i ary.length - 1 ary.length ary ary.length 1 i++ i++ i {
			System.out.print(ary[i] + " ");
		} {
			System.out.print(ary[i] + " ");
		} System.out.print(ary[i] + " ") System.out.print System.out System System.out ary[i] + " " ary[i] ary i " " System.out.println(ary[ary.length - 1]) System.out.println System.out System System.out ary[ary.length - 1] ary ary.length - 1 ary.length ary ary.length 1 String[] args args public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		int[] ary = new int[3];
		
		Scanner scanner = new Scanner(System.in);
		for (int i = 0; i < ary.length; i++) {
			ary[i] = scanner.nextInt();
		}
		scanner.close();
		
		Arrays.sort(ary);
		
		for (int i = 0; i < ary.length - 1; i++) {
			System.out.print(ary[i] + " ");
		}
		System.out.println(ary[ary.length - 1]);
	}

} public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		int[] ary = new int[3];
		
		Scanner scanner = new Scanner(System.in);
		for (int i = 0; i < ary.length; i++) {
			ary[i] = scanner.nextInt();
		}
		scanner.close();
		
		Arrays.sort(ary);
		
		for (int i = 0; i < ary.length - 1; i++) {
			System.out.print(ary[i] + " ");
		}
		System.out.println(ary[ary.length - 1]);
	}

} Main
import java.util.Arrays;
import java.util.Scanner;

/**
 * @author ??\???
 *
 */
public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		int[] ary = new int[3];
		
		Scanner scanner = new Scanner(System.in);
		for (int i = 0; i < ary.length; i++) {
			ary[i] = scanner.nextInt();
		}
		scanner.close();
		
		Arrays.sort(ary);
		
		for (int i = 0; i < ary.length - 1; i++) {
			System.out.print(ary[i] + " ");
		}
		System.out.println(ary[ary.length - 1]);
	}

}