import java.io.*;

class Main{
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String str = br.readLine();
		String strArr[] = str.split(" ");

		int numArr[] = new int[3];
		int tmp;


		for(int i=0; i<numArr.length; i++){
			numArr[i] = Integer.parseInt(strArr[i]);
		}

		for(int i=0; i<numArr.length; i++){
			for(int t=i; t<numArr.length; t++){
				if(numArr[i] > numArr[t]){
					tmp = numArr[i];
					numArr[i] = numArr[t];
					numArr[t] = tmp;
				}
			}
		}

		System.out.println(numArr[0] + " " + numArr[1] + " " + numArr[2]);


	}
} import java.io.*; io.* java class Main{
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String str = br.readLine();
		String strArr[] = str.split(" ");

		int numArr[] = new int[3];
		int tmp;


		for(int i=0; i<numArr.length; i++){
			numArr[i] = Integer.parseInt(strArr[i]);
		}

		for(int i=0; i<numArr.length; i++){
			for(int t=i; t<numArr.length; t++){
				if(numArr[i] > numArr[t]){
					tmp = numArr[i];
					numArr[i] = numArr[t];
					numArr[t] = tmp;
				}
			}
		}

		System.out.println(numArr[0] + " " + numArr[1] + " " + numArr[2]);


	}
} Main public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String str = br.readLine();
		String strArr[] = str.split(" ");

		int numArr[] = new int[3];
		int tmp;


		for(int i=0; i<numArr.length; i++){
			numArr[i] = Integer.parseInt(strArr[i]);
		}

		for(int i=0; i<numArr.length; i++){
			for(int t=i; t<numArr.length; t++){
				if(numArr[i] > numArr[t]){
					tmp = numArr[i];
					numArr[i] = numArr[t];
					numArr[t] = tmp;
				}
			}
		}

		System.out.println(numArr[0] + " " + numArr[1] + " " + numArr[2]);


	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String str = br.readLine();
		String strArr[] = str.split(" ");

		int numArr[] = new int[3];
		int tmp;


		for(int i=0; i<numArr.length; i++){
			numArr[i] = Integer.parseInt(strArr[i]);
		}

		for(int i=0; i<numArr.length; i++){
			for(int t=i; t<numArr.length; t++){
				if(numArr[i] > numArr[t]){
					tmp = numArr[i];
					numArr[i] = numArr[t];
					numArr[t] = tmp;
				}
			}
		}

		System.out.println(numArr[0] + " " + numArr[1] + " " + numArr[2]);


	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str = br.readLine(); str br.readLine() br.readLine br String strArr[] = str.split(" "); strArr str.split(" ") str.split str " " int numArr[] = new int[3]; numArr new int[3] 3 int tmp; tmp for(int i=0; i<numArr.length; i++){
			numArr[i] = Integer.parseInt(strArr[i]);
		} int i=0; int i=0; i 0 i<numArr.length i numArr.length numArr numArr.length i++ i++ i {
			numArr[i] = Integer.parseInt(strArr[i]);
		} {
			numArr[i] = Integer.parseInt(strArr[i]);
		} numArr[i] = Integer.parseInt(strArr[i]) numArr[i] numArr i Integer.parseInt(strArr[i]) Integer.parseInt Integer strArr[i] strArr i for(int i=0; i<numArr.length; i++){
			for(int t=i; t<numArr.length; t++){
				if(numArr[i] > numArr[t]){
					tmp = numArr[i];
					numArr[i] = numArr[t];
					numArr[t] = tmp;
				}
			}
		} int i=0; int i=0; i 0 i<numArr.length i numArr.length numArr numArr.length i++ i++ i {
			for(int t=i; t<numArr.length; t++){
				if(numArr[i] > numArr[t]){
					tmp = numArr[i];
					numArr[i] = numArr[t];
					numArr[t] = tmp;
				}
			}
		} {
			for(int t=i; t<numArr.length; t++){
				if(numArr[i] > numArr[t]){
					tmp = numArr[i];
					numArr[i] = numArr[t];
					numArr[t] = tmp;
				}
			}
		} for(int t=i; t<numArr.length; t++){
				if(numArr[i] > numArr[t]){
					tmp = numArr[i];
					numArr[i] = numArr[t];
					numArr[t] = tmp;
				}
			} int t=i; int t=i; t i t<numArr.length t numArr.length numArr numArr.length t++ t++ t {
				if(numArr[i] > numArr[t]){
					tmp = numArr[i];
					numArr[i] = numArr[t];
					numArr[t] = tmp;
				}
			} {
				if(numArr[i] > numArr[t]){
					tmp = numArr[i];
					numArr[i] = numArr[t];
					numArr[t] = tmp;
				}
			} if(numArr[i] > numArr[t]){
					tmp = numArr[i];
					numArr[i] = numArr[t];
					numArr[t] = tmp;
				} numArr[i] > numArr[t] numArr[i] numArr i numArr[t] numArr t {
					tmp = numArr[i];
					numArr[i] = numArr[t];
					numArr[t] = tmp;
				} tmp = numArr[i] tmp numArr[i] numArr i numArr[i] = numArr[t] numArr[i] numArr i numArr[t] numArr t numArr[t] = tmp numArr[t] numArr t tmp System.out.println(numArr[0] + " " + numArr[1] + " " + numArr[2]) System.out.println System.out System System.out numArr[0] + " " + numArr[1] + " " + numArr[2] " " numArr[1] numArr[0] + " " + numArr[1] + " " + numArr[2] numArr[0] numArr 0 " " numArr[1] numArr 1 " " numArr[2] numArr 2 String[] args args
import java.io.*;

class Main{
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String str = br.readLine();
		String strArr[] = str.split(" ");

		int numArr[] = new int[3];
		int tmp;


		for(int i=0; i<numArr.length; i++){
			numArr[i] = Integer.parseInt(strArr[i]);
		}

		for(int i=0; i<numArr.length; i++){
			for(int t=i; t<numArr.length; t++){
				if(numArr[i] > numArr[t]){
					tmp = numArr[i];
					numArr[i] = numArr[t];
					numArr[t] = tmp;
				}
			}
		}

		System.out.println(numArr[0] + " " + numArr[1] + " " + numArr[2]);


	}
}