import java.io.*;
public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String[] strs = str.split(" ");
		int a = Integer.parseInt(strs[0]);
		int b = Integer.parseInt(strs[1]);
		int c = Integer.parseInt(strs[2]);
		int[] ans = {a, b, c};
		for(int i = 0; i < ans.length; i++){
			for(int x = i; x < ans.length; x++){
				if(ans[x] < ans[i]){
					int w = ans[x];
					ans[x] = ans[i];
					ans[i] = w;
				}//if
			}//for
		}//for
		System.out.println(ans[0] + " " + ans[1] + " " + ans[2]);
		br.close();
	}
} import java.io.*; io.* java public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String[] strs = str.split(" ");
		int a = Integer.parseInt(strs[0]);
		int b = Integer.parseInt(strs[1]);
		int c = Integer.parseInt(strs[2]);
		int[] ans = {a, b, c};
		for(int i = 0; i < ans.length; i++){
			for(int x = i; x < ans.length; x++){
				if(ans[x] < ans[i]){
					int w = ans[x];
					ans[x] = ans[i];
					ans[i] = w;
				}//if
			}//for
		}//for
		System.out.println(ans[0] + " " + ans[1] + " " + ans[2]);
		br.close();
	}
} Main public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String[] strs = str.split(" ");
		int a = Integer.parseInt(strs[0]);
		int b = Integer.parseInt(strs[1]);
		int c = Integer.parseInt(strs[2]);
		int[] ans = {a, b, c};
		for(int i = 0; i < ans.length; i++){
			for(int x = i; x < ans.length; x++){
				if(ans[x] < ans[i]){
					int w = ans[x];
					ans[x] = ans[i];
					ans[i] = w;
				}//if
			}//for
		}//for
		System.out.println(ans[0] + " " + ans[1] + " " + ans[2]);
		br.close();
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String[] strs = str.split(" ");
		int a = Integer.parseInt(strs[0]);
		int b = Integer.parseInt(strs[1]);
		int c = Integer.parseInt(strs[2]);
		int[] ans = {a, b, c};
		for(int i = 0; i < ans.length; i++){
			for(int x = i; x < ans.length; x++){
				if(ans[x] < ans[i]){
					int w = ans[x];
					ans[x] = ans[i];
					ans[i] = w;
				}//if
			}//for
		}//for
		System.out.println(ans[0] + " " + ans[1] + " " + ans[2]);
		br.close();
	} 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[] strs = str.split(" "); strs str.split(" ") str.split str " " int a = Integer.parseInt(strs[0]); a Integer.parseInt(strs[0]) Integer.parseInt Integer strs[0] strs 0 int b = Integer.parseInt(strs[1]); b Integer.parseInt(strs[1]) Integer.parseInt Integer strs[1] strs 1 int c = Integer.parseInt(strs[2]); c Integer.parseInt(strs[2]) Integer.parseInt Integer strs[2] strs 2 int[] ans = {a, b, c}; ans {a, b, c} a b c for(int i = 0; i < ans.length; i++){
			for(int x = i; x < ans.length; x++){
				if(ans[x] < ans[i]){
					int w = ans[x];
					ans[x] = ans[i];
					ans[i] = w;
				}//if
			}//for
		}//for int i = 0; int i = 0; i 0 i < ans.length i ans.length ans ans.length i++ i++ i {
			for(int x = i; x < ans.length; x++){
				if(ans[x] < ans[i]){
					int w = ans[x];
					ans[x] = ans[i];
					ans[i] = w;
				}//if
			}//for
		}//for {
			for(int x = i; x < ans.length; x++){
				if(ans[x] < ans[i]){
					int w = ans[x];
					ans[x] = ans[i];
					ans[i] = w;
				}//if
			}//for
		} for(int x = i; x < ans.length; x++){
				if(ans[x] < ans[i]){
					int w = ans[x];
					ans[x] = ans[i];
					ans[i] = w;
				}//if
			}//for int x = i; int x = i; x i x < ans.length x ans.length ans ans.length x++ x++ x {
				if(ans[x] < ans[i]){
					int w = ans[x];
					ans[x] = ans[i];
					ans[i] = w;
				}//if
			}//for {
				if(ans[x] < ans[i]){
					int w = ans[x];
					ans[x] = ans[i];
					ans[i] = w;
				}//if
			} if(ans[x] < ans[i]){
					int w = ans[x];
					ans[x] = ans[i];
					ans[i] = w;
				}//if ans[x] < ans[i] ans[x] ans x ans[i] ans i {
					int w = ans[x];
					ans[x] = ans[i];
					ans[i] = w;
				} int w = ans[x]; w ans[x] ans x ans[x] = ans[i] ans[x] ans x ans[i] ans i ans[i] = w ans[i] ans i w System.out.println(ans[0] + " " + ans[1] + " " + ans[2]) System.out.println System.out System System.out ans[0] + " " + ans[1] + " " + ans[2] " " ans[1] ans[0] + " " + ans[1] + " " + ans[2] ans[0] ans 0 " " ans[1] ans 1 " " ans[2] ans 2 br.close() br.close br String[] args args public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String[] strs = str.split(" ");
		int a = Integer.parseInt(strs[0]);
		int b = Integer.parseInt(strs[1]);
		int c = Integer.parseInt(strs[2]);
		int[] ans = {a, b, c};
		for(int i = 0; i < ans.length; i++){
			for(int x = i; x < ans.length; x++){
				if(ans[x] < ans[i]){
					int w = ans[x];
					ans[x] = ans[i];
					ans[i] = w;
				}//if
			}//for
		}//for
		System.out.println(ans[0] + " " + ans[1] + " " + ans[2]);
		br.close();
	}
} public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String[] strs = str.split(" ");
		int a = Integer.parseInt(strs[0]);
		int b = Integer.parseInt(strs[1]);
		int c = Integer.parseInt(strs[2]);
		int[] ans = {a, b, c};
		for(int i = 0; i < ans.length; i++){
			for(int x = i; x < ans.length; x++){
				if(ans[x] < ans[i]){
					int w = ans[x];
					ans[x] = ans[i];
					ans[i] = w;
				}//if
			}//for
		}//for
		System.out.println(ans[0] + " " + ans[1] + " " + ans[2]);
		br.close();
	}
} Main
import java.io.*;
public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String[] strs = str.split(" ");
		int a = Integer.parseInt(strs[0]);
		int b = Integer.parseInt(strs[1]);
		int c = Integer.parseInt(strs[2]);
		int[] ans = {a, b, c};
		for(int i = 0; i < ans.length; i++){
			for(int x = i; x < ans.length; x++){
				if(ans[x] < ans[i]){
					int w = ans[x];
					ans[x] = ans[i];
					ans[i] = w;
				}//if
			}//for
		}//for
		System.out.println(ans[0] + " " + ans[1] + " " + ans[2]);
		br.close();
	}
}