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

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int[] intArray = new int[3];
		intArray[0] = sc.nextInt();
		intArray[1] = sc.nextInt();
		intArray[2] = sc.nextInt();
		Arrays.sort(intArray);
		StringBuilder sb = new StringBuilder();
		for (int i : intArray) {
			sb.append(i);
			sb.append(" ");
		}
		System.out.println(sb.toString().trim());
	}
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int[] intArray = new int[3];
		intArray[0] = sc.nextInt();
		intArray[1] = sc.nextInt();
		intArray[2] = sc.nextInt();
		Arrays.sort(intArray);
		StringBuilder sb = new StringBuilder();
		for (int i : intArray) {
			sb.append(i);
			sb.append(" ");
		}
		System.out.println(sb.toString().trim());
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int[] intArray = new int[3];
		intArray[0] = sc.nextInt();
		intArray[1] = sc.nextInt();
		intArray[2] = sc.nextInt();
		Arrays.sort(intArray);
		StringBuilder sb = new StringBuilder();
		for (int i : intArray) {
			sb.append(i);
			sb.append(" ");
		}
		System.out.println(sb.toString().trim());
	} main {
		Scanner sc = new Scanner(System.in);

		int[] intArray = new int[3];
		intArray[0] = sc.nextInt();
		intArray[1] = sc.nextInt();
		intArray[2] = sc.nextInt();
		Arrays.sort(intArray);
		StringBuilder sb = new StringBuilder();
		for (int i : intArray) {
			sb.append(i);
			sb.append(" ");
		}
		System.out.println(sb.toString().trim());
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] intArray = new int[3]; intArray new int[3] 3 intArray[0] = sc.nextInt() intArray[0] intArray 0 sc.nextInt() sc.nextInt sc intArray[1] = sc.nextInt() intArray[1] intArray 1 sc.nextInt() sc.nextInt sc intArray[2] = sc.nextInt() intArray[2] intArray 2 sc.nextInt() sc.nextInt sc Arrays.sort(intArray) Arrays.sort Arrays intArray StringBuilder sb = new StringBuilder(); sb new StringBuilder() for (int i : intArray) {
			sb.append(i);
			sb.append(" ");
		} int i intArray {
			sb.append(i);
			sb.append(" ");
		} {
			sb.append(i);
			sb.append(" ");
		} sb.append(i) sb.append sb i sb.append(" ") sb.append sb " " System.out.println(sb.toString().trim()) System.out.println System.out System System.out sb.toString().trim() sb.toString().trim sb.toString() sb.toString sb String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int[] intArray = new int[3];
		intArray[0] = sc.nextInt();
		intArray[1] = sc.nextInt();
		intArray[2] = sc.nextInt();
		Arrays.sort(intArray);
		StringBuilder sb = new StringBuilder();
		for (int i : intArray) {
			sb.append(i);
			sb.append(" ");
		}
		System.out.println(sb.toString().trim());
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int[] intArray = new int[3];
		intArray[0] = sc.nextInt();
		intArray[1] = sc.nextInt();
		intArray[2] = sc.nextInt();
		Arrays.sort(intArray);
		StringBuilder sb = new StringBuilder();
		for (int i : intArray) {
			sb.append(i);
			sb.append(" ");
		}
		System.out.println(sb.toString().trim());
	}
} Main

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

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int[] intArray = new int[3];
		intArray[0] = sc.nextInt();
		intArray[1] = sc.nextInt();
		intArray[2] = sc.nextInt();
		Arrays.sort(intArray);
		StringBuilder sb = new StringBuilder();
		for (int i : intArray) {
			sb.append(i);
			sb.append(" ");
		}
		System.out.println(sb.toString().trim());
	}
}