import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner kbScanner = new Scanner(System.in);
		
		int[] input = new int[3];
		for(int i = 0; i < input.length; i++){
			input[i] = kbScanner.nextInt();
		}
		
		int[] output = input.clone();
		int p = 0;//???????????? 
		for(p = 0; p < output.length - 1; p++){
			for(int i = p; i < output.length - 1; i++){
				if(output[p] > output[i + 1]){
					int oki = output[p];
					output[p] = output[i + 1];
					output[i + 1] = oki;
				}
			}
		}
		
		System.out.println(output[0] + " " + output[1] + " " + output[2]);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner kbScanner = new Scanner(System.in);
		
		int[] input = new int[3];
		for(int i = 0; i < input.length; i++){
			input[i] = kbScanner.nextInt();
		}
		
		int[] output = input.clone();
		int p = 0;//???????????? 
		for(p = 0; p < output.length - 1; p++){
			for(int i = p; i < output.length - 1; i++){
				if(output[p] > output[i + 1]){
					int oki = output[p];
					output[p] = output[i + 1];
					output[i + 1] = oki;
				}
			}
		}
		
		System.out.println(output[0] + " " + output[1] + " " + output[2]);
	}
} Main public static void main(String[] args) {
		Scanner kbScanner = new Scanner(System.in);
		
		int[] input = new int[3];
		for(int i = 0; i < input.length; i++){
			input[i] = kbScanner.nextInt();
		}
		
		int[] output = input.clone();
		int p = 0;//???????????? 
		for(p = 0; p < output.length - 1; p++){
			for(int i = p; i < output.length - 1; i++){
				if(output[p] > output[i + 1]){
					int oki = output[p];
					output[p] = output[i + 1];
					output[i + 1] = oki;
				}
			}
		}
		
		System.out.println(output[0] + " " + output[1] + " " + output[2]);
	} main {
		Scanner kbScanner = new Scanner(System.in);
		
		int[] input = new int[3];
		for(int i = 0; i < input.length; i++){
			input[i] = kbScanner.nextInt();
		}
		
		int[] output = input.clone();
		int p = 0;//???????????? 
		for(p = 0; p < output.length - 1; p++){
			for(int i = p; i < output.length - 1; i++){
				if(output[p] > output[i + 1]){
					int oki = output[p];
					output[p] = output[i + 1];
					output[i + 1] = oki;
				}
			}
		}
		
		System.out.println(output[0] + " " + output[1] + " " + output[2]);
	} Scanner kbScanner = new Scanner(System.in); kbScanner new Scanner(System.in) int[] input = new int[3]; input new int[3] 3 for(int i = 0; i < input.length; i++){
			input[i] = kbScanner.nextInt();
		} int i = 0; int i = 0; i 0 i < input.length i input.length input input.length i++ i++ i {
			input[i] = kbScanner.nextInt();
		} {
			input[i] = kbScanner.nextInt();
		} input[i] = kbScanner.nextInt() input[i] input i kbScanner.nextInt() kbScanner.nextInt kbScanner int[] output = input.clone(); output input.clone() input.clone input int p = 0; p 0 for(p = 0; p < output.length - 1; p++){
			for(int i = p; i < output.length - 1; i++){
				if(output[p] > output[i + 1]){
					int oki = output[p];
					output[p] = output[i + 1];
					output[i + 1] = oki;
				}
			}
		} p = 0; p = 0 p 0 p < output.length - 1 p output.length - 1 output.length output output.length 1 p++ p++ p {
			for(int i = p; i < output.length - 1; i++){
				if(output[p] > output[i + 1]){
					int oki = output[p];
					output[p] = output[i + 1];
					output[i + 1] = oki;
				}
			}
		} {
			for(int i = p; i < output.length - 1; i++){
				if(output[p] > output[i + 1]){
					int oki = output[p];
					output[p] = output[i + 1];
					output[i + 1] = oki;
				}
			}
		} for(int i = p; i < output.length - 1; i++){
				if(output[p] > output[i + 1]){
					int oki = output[p];
					output[p] = output[i + 1];
					output[i + 1] = oki;
				}
			} int i = p; int i = p; i p i < output.length - 1 i output.length - 1 output.length output output.length 1 i++ i++ i {
				if(output[p] > output[i + 1]){
					int oki = output[p];
					output[p] = output[i + 1];
					output[i + 1] = oki;
				}
			} {
				if(output[p] > output[i + 1]){
					int oki = output[p];
					output[p] = output[i + 1];
					output[i + 1] = oki;
				}
			} if(output[p] > output[i + 1]){
					int oki = output[p];
					output[p] = output[i + 1];
					output[i + 1] = oki;
				} output[p] > output[i + 1] output[p] output p output[i + 1] output i + 1 i 1 {
					int oki = output[p];
					output[p] = output[i + 1];
					output[i + 1] = oki;
				} int oki = output[p]; oki output[p] output p output[p] = output[i + 1] output[p] output p output[i + 1] output i + 1 i 1 output[i + 1] = oki output[i + 1] output i + 1 i 1 oki System.out.println(output[0] + " " + output[1] + " " + output[2]) System.out.println System.out System System.out output[0] + " " + output[1] + " " + output[2] " " output[1] output[0] + " " + output[1] + " " + output[2] output[0] output 0 " " output[1] output 1 " " output[2] output 2 String[] args args public class Main {
	public static void main(String[] args) {
		Scanner kbScanner = new Scanner(System.in);
		
		int[] input = new int[3];
		for(int i = 0; i < input.length; i++){
			input[i] = kbScanner.nextInt();
		}
		
		int[] output = input.clone();
		int p = 0;//???????????? 
		for(p = 0; p < output.length - 1; p++){
			for(int i = p; i < output.length - 1; i++){
				if(output[p] > output[i + 1]){
					int oki = output[p];
					output[p] = output[i + 1];
					output[i + 1] = oki;
				}
			}
		}
		
		System.out.println(output[0] + " " + output[1] + " " + output[2]);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner kbScanner = new Scanner(System.in);
		
		int[] input = new int[3];
		for(int i = 0; i < input.length; i++){
			input[i] = kbScanner.nextInt();
		}
		
		int[] output = input.clone();
		int p = 0;//???????????? 
		for(p = 0; p < output.length - 1; p++){
			for(int i = p; i < output.length - 1; i++){
				if(output[p] > output[i + 1]){
					int oki = output[p];
					output[p] = output[i + 1];
					output[i + 1] = oki;
				}
			}
		}
		
		System.out.println(output[0] + " " + output[1] + " " + output[2]);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner kbScanner = new Scanner(System.in);
		
		int[] input = new int[3];
		for(int i = 0; i < input.length; i++){
			input[i] = kbScanner.nextInt();
		}
		
		int[] output = input.clone();
		int p = 0;//???????????? 
		for(p = 0; p < output.length - 1; p++){
			for(int i = p; i < output.length - 1; i++){
				if(output[p] > output[i + 1]){
					int oki = output[p];
					output[p] = output[i + 1];
					output[i + 1] = oki;
				}
			}
		}
		
		System.out.println(output[0] + " " + output[1] + " " + output[2]);
	}
}