public class Main {
	public static void main(String[] args){
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		int[] arr = {a,b,c};
		for(int i = 0; i < 3; i++){
			for(int j = i+1; j < 3; j++){
				if(arr[i] > arr[j]){
					int temp = arr[i];
					arr[i] = arr[j];
					arr[j] = temp;
				}
			}
		}
		System.out.println(arr[0] + " " + arr[1] + " " + arr[2]);
	}

} public class Main {
	public static void main(String[] args){
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		int[] arr = {a,b,c};
		for(int i = 0; i < 3; i++){
			for(int j = i+1; j < 3; j++){
				if(arr[i] > arr[j]){
					int temp = arr[i];
					arr[i] = arr[j];
					arr[j] = temp;
				}
			}
		}
		System.out.println(arr[0] + " " + arr[1] + " " + arr[2]);
	}

} Main public static void main(String[] args){
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		int[] arr = {a,b,c};
		for(int i = 0; i < 3; i++){
			for(int j = i+1; j < 3; j++){
				if(arr[i] > arr[j]){
					int temp = arr[i];
					arr[i] = arr[j];
					arr[j] = temp;
				}
			}
		}
		System.out.println(arr[0] + " " + arr[1] + " " + arr[2]);
	} main {
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		int[] arr = {a,b,c};
		for(int i = 0; i < 3; i++){
			for(int j = i+1; j < 3; j++){
				if(arr[i] > arr[j]){
					int temp = arr[i];
					arr[i] = arr[j];
					arr[j] = temp;
				}
			}
		}
		System.out.println(arr[0] + " " + arr[1] + " " + arr[2]);
	} java.util.Scanner scan = new java.util.Scanner(System.in); scan new java.util.Scanner(System.in) int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan int c = scan.nextInt(); c scan.nextInt() scan.nextInt scan int[] arr = {a,b,c}; arr {a,b,c} a b c for(int i = 0; i < 3; i++){
			for(int j = i+1; j < 3; j++){
				if(arr[i] > arr[j]){
					int temp = arr[i];
					arr[i] = arr[j];
					arr[j] = temp;
				}
			}
		} int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
			for(int j = i+1; j < 3; j++){
				if(arr[i] > arr[j]){
					int temp = arr[i];
					arr[i] = arr[j];
					arr[j] = temp;
				}
			}
		} {
			for(int j = i+1; j < 3; j++){
				if(arr[i] > arr[j]){
					int temp = arr[i];
					arr[i] = arr[j];
					arr[j] = temp;
				}
			}
		} for(int j = i+1; j < 3; j++){
				if(arr[i] > arr[j]){
					int temp = arr[i];
					arr[i] = arr[j];
					arr[j] = temp;
				}
			} int j = i+1; int j = i+1; j i+1 i 1 j < 3 j 3 j++ j++ j {
				if(arr[i] > arr[j]){
					int temp = arr[i];
					arr[i] = arr[j];
					arr[j] = temp;
				}
			} {
				if(arr[i] > arr[j]){
					int temp = arr[i];
					arr[i] = arr[j];
					arr[j] = temp;
				}
			} if(arr[i] > arr[j]){
					int temp = arr[i];
					arr[i] = arr[j];
					arr[j] = temp;
				} arr[i] > arr[j] arr[i] arr i arr[j] arr j {
					int temp = arr[i];
					arr[i] = arr[j];
					arr[j] = temp;
				} int temp = arr[i]; temp arr[i] arr i arr[i] = arr[j] arr[i] arr i arr[j] arr j arr[j] = temp arr[j] arr j temp System.out.println(arr[0] + " " + arr[1] + " " + arr[2]) System.out.println System.out System System.out arr[0] + " " + arr[1] + " " + arr[2] " " arr[1] arr[0] + " " + arr[1] + " " + arr[2] arr[0] arr 0 " " arr[1] arr 1 " " arr[2] arr 2 String[] args args public class Main {
	public static void main(String[] args){
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		int[] arr = {a,b,c};
		for(int i = 0; i < 3; i++){
			for(int j = i+1; j < 3; j++){
				if(arr[i] > arr[j]){
					int temp = arr[i];
					arr[i] = arr[j];
					arr[j] = temp;
				}
			}
		}
		System.out.println(arr[0] + " " + arr[1] + " " + arr[2]);
	}

} public class Main {
	public static void main(String[] args){
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		int[] arr = {a,b,c};
		for(int i = 0; i < 3; i++){
			for(int j = i+1; j < 3; j++){
				if(arr[i] > arr[j]){
					int temp = arr[i];
					arr[i] = arr[j];
					arr[j] = temp;
				}
			}
		}
		System.out.println(arr[0] + " " + arr[1] + " " + arr[2]);
	}

} Main
public class Main {
	public static void main(String[] args){
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		int[] arr = {a,b,c};
		for(int i = 0; i < 3; i++){
			for(int j = i+1; j < 3; j++){
				if(arr[i] > arr[j]){
					int temp = arr[i];
					arr[i] = arr[j];
					arr[j] = temp;
				}
			}
		}
		System.out.println(arr[0] + " " + arr[1] + " " + arr[2]);
	}

}