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

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int[] data = { a, b, c };
		Arrays.sort(data);
		System.out.println(data[0] + " " + data[1] + " " + data[2]);
	}
} 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 a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int[] data = { a, b, c };
		Arrays.sort(data);
		System.out.println(data[0] + " " + data[1] + " " + data[2]);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int[] data = { a, b, c };
		Arrays.sort(data);
		System.out.println(data[0] + " " + data[1] + " " + data[2]);
	} main {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int[] data = { a, b, c };
		Arrays.sort(data);
		System.out.println(data[0] + " " + data[1] + " " + data[2]);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc int[] data = { a, b, c }; data { a, b, c } a b c Arrays.sort(data) Arrays.sort Arrays data System.out.println(data[0] + " " + data[1] + " " + data[2]) System.out.println System.out System System.out data[0] + " " + data[1] + " " + data[2] " " data[1] data[0] + " " + data[1] + " " + data[2] data[0] data 0 " " data[1] data 1 " " data[2] data 2 String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int[] data = { a, b, c };
		Arrays.sort(data);
		System.out.println(data[0] + " " + data[1] + " " + data[2]);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int[] data = { a, b, c };
		Arrays.sort(data);
		System.out.println(data[0] + " " + data[1] + " " + data[2]);
	}
} 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 a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int[] data = { a, b, c };
		Arrays.sort(data);
		System.out.println(data[0] + " " + data[1] + " " + data[2]);
	}
}
