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

public class Main {
	void run() {
		Scanner scan = new Scanner(System.in);
		Integer[] array = new Integer[3];
		for (int i = 0; i < 3; i++) {
			array[i] = new Integer(scan.nextInt());
		}
		Arrays.sort(array);
		System.out.printf("%d %d %d\n", array[0], array[1], array[2]);
	}
	public static void main(String[] args) {
		new Main().run();
	}
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {
	void run() {
		Scanner scan = new Scanner(System.in);
		Integer[] array = new Integer[3];
		for (int i = 0; i < 3; i++) {
			array[i] = new Integer(scan.nextInt());
		}
		Arrays.sort(array);
		System.out.printf("%d %d %d\n", array[0], array[1], array[2]);
	}
	public static void main(String[] args) {
		new Main().run();
	}
} Main void run() {
		Scanner scan = new Scanner(System.in);
		Integer[] array = new Integer[3];
		for (int i = 0; i < 3; i++) {
			array[i] = new Integer(scan.nextInt());
		}
		Arrays.sort(array);
		System.out.printf("%d %d %d\n", array[0], array[1], array[2]);
	} run {
		Scanner scan = new Scanner(System.in);
		Integer[] array = new Integer[3];
		for (int i = 0; i < 3; i++) {
			array[i] = new Integer(scan.nextInt());
		}
		Arrays.sort(array);
		System.out.printf("%d %d %d\n", array[0], array[1], array[2]);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) Integer[] array = new Integer[3]; array new Integer[3] 3 for (int i = 0; i < 3; i++) {
			array[i] = new Integer(scan.nextInt());
		} int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
			array[i] = new Integer(scan.nextInt());
		} {
			array[i] = new Integer(scan.nextInt());
		} array[i] = new Integer(scan.nextInt()) array[i] array i new Integer(scan.nextInt()) Arrays.sort(array) Arrays.sort Arrays array System.out.printf("%d %d %d\n", array[0], array[1], array[2]) System.out.printf System.out System System.out "%d %d %d\n" array[0] array 0 array[1] array 1 array[2] array 2 public static void main(String[] args) {
		new Main().run();
	} main {
		new Main().run();
	} new Main().run() new Main().run new Main() String[] args args public class Main {
	void run() {
		Scanner scan = new Scanner(System.in);
		Integer[] array = new Integer[3];
		for (int i = 0; i < 3; i++) {
			array[i] = new Integer(scan.nextInt());
		}
		Arrays.sort(array);
		System.out.printf("%d %d %d\n", array[0], array[1], array[2]);
	}
	public static void main(String[] args) {
		new Main().run();
	}
} public class Main {
	void run() {
		Scanner scan = new Scanner(System.in);
		Integer[] array = new Integer[3];
		for (int i = 0; i < 3; i++) {
			array[i] = new Integer(scan.nextInt());
		}
		Arrays.sort(array);
		System.out.printf("%d %d %d\n", array[0], array[1], array[2]);
	}
	public static void main(String[] args) {
		new Main().run();
	}
} Main
import java.util.Arrays;
import java.util.Scanner;

public class Main {
	void run() {
		Scanner scan = new Scanner(System.in);
		Integer[] array = new Integer[3];
		for (int i = 0; i < 3; i++) {
			array[i] = new Integer(scan.nextInt());
		}
		Arrays.sort(array);
		System.out.printf("%d %d %d\n", array[0], array[1], array[2]);
	}
	public static void main(String[] args) {
		new Main().run();
	}
}