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

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

		for (int i = 0; i < list.length; i++)
			list[i] = scanner.nextInt();

		Arrays.sort(list);
		System.out.println(list[0] + " " + list[1] + " " + list[2]);
	}
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int[] list = new int[3];

		for (int i = 0; i < list.length; i++)
			list[i] = scanner.nextInt();

		Arrays.sort(list);
		System.out.println(list[0] + " " + list[1] + " " + list[2]);
	}
} Main public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int[] list = new int[3];

		for (int i = 0; i < list.length; i++)
			list[i] = scanner.nextInt();

		Arrays.sort(list);
		System.out.println(list[0] + " " + list[1] + " " + list[2]);
	} main {
		Scanner scanner = new Scanner(System.in);
		int[] list = new int[3];

		for (int i = 0; i < list.length; i++)
			list[i] = scanner.nextInt();

		Arrays.sort(list);
		System.out.println(list[0] + " " + list[1] + " " + list[2]);
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int[] list = new int[3]; list new int[3] 3 for (int i = 0; i < list.length; i++)
			list[i] = scanner.nextInt(); int i = 0; int i = 0; i 0 i < list.length i list.length list list.length i++ i++ i list[i] = scanner.nextInt(); list[i] = scanner.nextInt() list[i] list i scanner.nextInt() scanner.nextInt scanner Arrays.sort(list) Arrays.sort Arrays list System.out.println(list[0] + " " + list[1] + " " + list[2]) System.out.println System.out System System.out list[0] + " " + list[1] + " " + list[2] " " list[1] list[0] + " " + list[1] + " " + list[2] list[0] list 0 " " list[1] list 1 " " list[2] list 2 String[] args args
import java.util.Arrays;
import java.util.Scanner;

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

		for (int i = 0; i < list.length; i++)
			list[i] = scanner.nextInt();

		Arrays.sort(list);
		System.out.println(list[0] + " " + list[1] + " " + list[2]);
	}
}