import java.io.*;
public class Main {
		public static void main(String[] arg) throws IOException {
			InputStreamReader is = new InputStreamReader(System.in); 
	        BufferedReader br = new BufferedReader(is);
			String str = br.readLine();
			String[] spl = str.split(" ");
			int first = 0;
			int second = 1;
			int thrid = 2;
			if(Integer.parseInt(spl[0]) < Integer.parseInt(spl[1])){
				if(Integer.parseInt(spl[1]) < Integer.parseInt(spl[2])){
					System.out.println(spl[0]+" "+spl[1]+" "+spl[2]);
				}else if(Integer.parseInt(spl[0]) < Integer.parseInt(spl[2])){
					System.out.println(spl[0]+" "+spl[2]+" "+spl[1]);
				}else{
					System.out.println(spl[2]+" "+spl[0]+" "+spl[1]);
				}
			}else if(Integer.parseInt(spl[0]) < Integer.parseInt(spl[2])){
				System.out.println(spl[1]+" "+spl[0]+" "+spl[2]);
			}else if(Integer.parseInt(spl[1]) < Integer.parseInt(spl[2])){
				System.out.println(spl[1]+" "+spl[2]+" "+spl[0]);
			}else{
				System.out.println(spl[2]+" "+spl[1]+" "+spl[0]);
			}
	}

} import java.io.*; io.* java public class Main {
		public static void main(String[] arg) throws IOException {
			InputStreamReader is = new InputStreamReader(System.in); 
	        BufferedReader br = new BufferedReader(is);
			String str = br.readLine();
			String[] spl = str.split(" ");
			int first = 0;
			int second = 1;
			int thrid = 2;
			if(Integer.parseInt(spl[0]) < Integer.parseInt(spl[1])){
				if(Integer.parseInt(spl[1]) < Integer.parseInt(spl[2])){
					System.out.println(spl[0]+" "+spl[1]+" "+spl[2]);
				}else if(Integer.parseInt(spl[0]) < Integer.parseInt(spl[2])){
					System.out.println(spl[0]+" "+spl[2]+" "+spl[1]);
				}else{
					System.out.println(spl[2]+" "+spl[0]+" "+spl[1]);
				}
			}else if(Integer.parseInt(spl[0]) < Integer.parseInt(spl[2])){
				System.out.println(spl[1]+" "+spl[0]+" "+spl[2]);
			}else if(Integer.parseInt(spl[1]) < Integer.parseInt(spl[2])){
				System.out.println(spl[1]+" "+spl[2]+" "+spl[0]);
			}else{
				System.out.println(spl[2]+" "+spl[1]+" "+spl[0]);
			}
	}

} Main public static void main(String[] arg) throws IOException {
			InputStreamReader is = new InputStreamReader(System.in); 
	        BufferedReader br = new BufferedReader(is);
			String str = br.readLine();
			String[] spl = str.split(" ");
			int first = 0;
			int second = 1;
			int thrid = 2;
			if(Integer.parseInt(spl[0]) < Integer.parseInt(spl[1])){
				if(Integer.parseInt(spl[1]) < Integer.parseInt(spl[2])){
					System.out.println(spl[0]+" "+spl[1]+" "+spl[2]);
				}else if(Integer.parseInt(spl[0]) < Integer.parseInt(spl[2])){
					System.out.println(spl[0]+" "+spl[2]+" "+spl[1]);
				}else{
					System.out.println(spl[2]+" "+spl[0]+" "+spl[1]);
				}
			}else if(Integer.parseInt(spl[0]) < Integer.parseInt(spl[2])){
				System.out.println(spl[1]+" "+spl[0]+" "+spl[2]);
			}else if(Integer.parseInt(spl[1]) < Integer.parseInt(spl[2])){
				System.out.println(spl[1]+" "+spl[2]+" "+spl[0]);
			}else{
				System.out.println(spl[2]+" "+spl[1]+" "+spl[0]);
			}
	} main {
			InputStreamReader is = new InputStreamReader(System.in); 
	        BufferedReader br = new BufferedReader(is);
			String str = br.readLine();
			String[] spl = str.split(" ");
			int first = 0;
			int second = 1;
			int thrid = 2;
			if(Integer.parseInt(spl[0]) < Integer.parseInt(spl[1])){
				if(Integer.parseInt(spl[1]) < Integer.parseInt(spl[2])){
					System.out.println(spl[0]+" "+spl[1]+" "+spl[2]);
				}else if(Integer.parseInt(spl[0]) < Integer.parseInt(spl[2])){
					System.out.println(spl[0]+" "+spl[2]+" "+spl[1]);
				}else{
					System.out.println(spl[2]+" "+spl[0]+" "+spl[1]);
				}
			}else if(Integer.parseInt(spl[0]) < Integer.parseInt(spl[2])){
				System.out.println(spl[1]+" "+spl[0]+" "+spl[2]);
			}else if(Integer.parseInt(spl[1]) < Integer.parseInt(spl[2])){
				System.out.println(spl[1]+" "+spl[2]+" "+spl[0]);
			}else{
				System.out.println(spl[2]+" "+spl[1]+" "+spl[0]);
			}
	} InputStreamReader is = new InputStreamReader(System.in); is new InputStreamReader(System.in) BufferedReader br = new BufferedReader(is); br new BufferedReader(is) String str = br.readLine(); str br.readLine() br.readLine br String[] spl = str.split(" "); spl str.split(" ") str.split str " " int first = 0; first 0 int second = 1; second 1 int thrid = 2; thrid 2 if(Integer.parseInt(spl[0]) < Integer.parseInt(spl[1])){
				if(Integer.parseInt(spl[1]) < Integer.parseInt(spl[2])){
					System.out.println(spl[0]+" "+spl[1]+" "+spl[2]);
				}else if(Integer.parseInt(spl[0]) < Integer.parseInt(spl[2])){
					System.out.println(spl[0]+" "+spl[2]+" "+spl[1]);
				}else{
					System.out.println(spl[2]+" "+spl[0]+" "+spl[1]);
				}
			}else if(Integer.parseInt(spl[0]) < Integer.parseInt(spl[2])){
				System.out.println(spl[1]+" "+spl[0]+" "+spl[2]);
			}else if(Integer.parseInt(spl[1]) < Integer.parseInt(spl[2])){
				System.out.println(spl[1]+" "+spl[2]+" "+spl[0]);
			}else{
				System.out.println(spl[2]+" "+spl[1]+" "+spl[0]);
			} Integer.parseInt(spl[0]) < Integer.parseInt(spl[1]) Integer.parseInt(spl[0]) Integer.parseInt Integer spl[0] spl 0 Integer.parseInt(spl[1]) Integer.parseInt Integer spl[1] spl 1 {
				if(Integer.parseInt(spl[1]) < Integer.parseInt(spl[2])){
					System.out.println(spl[0]+" "+spl[1]+" "+spl[2]);
				}else if(Integer.parseInt(spl[0]) < Integer.parseInt(spl[2])){
					System.out.println(spl[0]+" "+spl[2]+" "+spl[1]);
				}else{
					System.out.println(spl[2]+" "+spl[0]+" "+spl[1]);
				}
			} if(Integer.parseInt(spl[1]) < Integer.parseInt(spl[2])){
					System.out.println(spl[0]+" "+spl[1]+" "+spl[2]);
				}else if(Integer.parseInt(spl[0]) < Integer.parseInt(spl[2])){
					System.out.println(spl[0]+" "+spl[2]+" "+spl[1]);
				}else{
					System.out.println(spl[2]+" "+spl[0]+" "+spl[1]);
				} Integer.parseInt(spl[1]) < Integer.parseInt(spl[2]) Integer.parseInt(spl[1]) Integer.parseInt Integer spl[1] spl 1 Integer.parseInt(spl[2]) Integer.parseInt Integer spl[2] spl 2 {
					System.out.println(spl[0]+" "+spl[1]+" "+spl[2]);
				} System.out.println(spl[0]+" "+spl[1]+" "+spl[2]) System.out.println System.out System System.out spl[0]+" "+spl[1]+" "+spl[2] " " spl[1] spl[0]+" "+spl[1]+" "+spl[2] spl[0] spl 0 " " spl[1] spl 1 " " spl[2] spl 2 if(Integer.parseInt(spl[0]) < Integer.parseInt(spl[2])){
					System.out.println(spl[0]+" "+spl[2]+" "+spl[1]);
				}else{
					System.out.println(spl[2]+" "+spl[0]+" "+spl[1]);
				} Integer.parseInt(spl[0]) < Integer.parseInt(spl[2]) Integer.parseInt(spl[0]) Integer.parseInt Integer spl[0] spl 0 Integer.parseInt(spl[2]) Integer.parseInt Integer spl[2] spl 2 {
					System.out.println(spl[0]+" "+spl[2]+" "+spl[1]);
				} System.out.println(spl[0]+" "+spl[2]+" "+spl[1]) System.out.println System.out System System.out spl[0]+" "+spl[2]+" "+spl[1] " " spl[2] spl[0]+" "+spl[2]+" "+spl[1] spl[0] spl 0 " " spl[2] spl 2 " " spl[1] spl 1 {
					System.out.println(spl[2]+" "+spl[0]+" "+spl[1]);
				} System.out.println(spl[2]+" "+spl[0]+" "+spl[1]) System.out.println System.out System System.out spl[2]+" "+spl[0]+" "+spl[1] " " spl[0] spl[2]+" "+spl[0]+" "+spl[1] spl[2] spl 2 " " spl[0] spl 0 " " spl[1] spl 1 if(Integer.parseInt(spl[0]) < Integer.parseInt(spl[2])){
				System.out.println(spl[1]+" "+spl[0]+" "+spl[2]);
			}else if(Integer.parseInt(spl[1]) < Integer.parseInt(spl[2])){
				System.out.println(spl[1]+" "+spl[2]+" "+spl[0]);
			}else{
				System.out.println(spl[2]+" "+spl[1]+" "+spl[0]);
			} Integer.parseInt(spl[0]) < Integer.parseInt(spl[2]) Integer.parseInt(spl[0]) Integer.parseInt Integer spl[0] spl 0 Integer.parseInt(spl[2]) Integer.parseInt Integer spl[2] spl 2 {
				System.out.println(spl[1]+" "+spl[0]+" "+spl[2]);
			} System.out.println(spl[1]+" "+spl[0]+" "+spl[2]) System.out.println System.out System System.out spl[1]+" "+spl[0]+" "+spl[2] " " spl[0] spl[1]+" "+spl[0]+" "+spl[2] spl[1] spl 1 " " spl[0] spl 0 " " spl[2] spl 2 if(Integer.parseInt(spl[1]) < Integer.parseInt(spl[2])){
				System.out.println(spl[1]+" "+spl[2]+" "+spl[0]);
			}else{
				System.out.println(spl[2]+" "+spl[1]+" "+spl[0]);
			} Integer.parseInt(spl[1]) < Integer.parseInt(spl[2]) Integer.parseInt(spl[1]) Integer.parseInt Integer spl[1] spl 1 Integer.parseInt(spl[2]) Integer.parseInt Integer spl[2] spl 2 {
				System.out.println(spl[1]+" "+spl[2]+" "+spl[0]);
			} System.out.println(spl[1]+" "+spl[2]+" "+spl[0]) System.out.println System.out System System.out spl[1]+" "+spl[2]+" "+spl[0] " " spl[2] spl[1]+" "+spl[2]+" "+spl[0] spl[1] spl 1 " " spl[2] spl 2 " " spl[0] spl 0 {
				System.out.println(spl[2]+" "+spl[1]+" "+spl[0]);
			} System.out.println(spl[2]+" "+spl[1]+" "+spl[0]) System.out.println System.out System System.out spl[2]+" "+spl[1]+" "+spl[0] " " spl[1] spl[2]+" "+spl[1]+" "+spl[0] spl[2] spl 2 " " spl[1] spl 1 " " spl[0] spl 0 String[] arg arg public class Main {
		public static void main(String[] arg) throws IOException {
			InputStreamReader is = new InputStreamReader(System.in); 
	        BufferedReader br = new BufferedReader(is);
			String str = br.readLine();
			String[] spl = str.split(" ");
			int first = 0;
			int second = 1;
			int thrid = 2;
			if(Integer.parseInt(spl[0]) < Integer.parseInt(spl[1])){
				if(Integer.parseInt(spl[1]) < Integer.parseInt(spl[2])){
					System.out.println(spl[0]+" "+spl[1]+" "+spl[2]);
				}else if(Integer.parseInt(spl[0]) < Integer.parseInt(spl[2])){
					System.out.println(spl[0]+" "+spl[2]+" "+spl[1]);
				}else{
					System.out.println(spl[2]+" "+spl[0]+" "+spl[1]);
				}
			}else if(Integer.parseInt(spl[0]) < Integer.parseInt(spl[2])){
				System.out.println(spl[1]+" "+spl[0]+" "+spl[2]);
			}else if(Integer.parseInt(spl[1]) < Integer.parseInt(spl[2])){
				System.out.println(spl[1]+" "+spl[2]+" "+spl[0]);
			}else{
				System.out.println(spl[2]+" "+spl[1]+" "+spl[0]);
			}
	}

} public class Main {
		public static void main(String[] arg) throws IOException {
			InputStreamReader is = new InputStreamReader(System.in); 
	        BufferedReader br = new BufferedReader(is);
			String str = br.readLine();
			String[] spl = str.split(" ");
			int first = 0;
			int second = 1;
			int thrid = 2;
			if(Integer.parseInt(spl[0]) < Integer.parseInt(spl[1])){
				if(Integer.parseInt(spl[1]) < Integer.parseInt(spl[2])){
					System.out.println(spl[0]+" "+spl[1]+" "+spl[2]);
				}else if(Integer.parseInt(spl[0]) < Integer.parseInt(spl[2])){
					System.out.println(spl[0]+" "+spl[2]+" "+spl[1]);
				}else{
					System.out.println(spl[2]+" "+spl[0]+" "+spl[1]);
				}
			}else if(Integer.parseInt(spl[0]) < Integer.parseInt(spl[2])){
				System.out.println(spl[1]+" "+spl[0]+" "+spl[2]);
			}else if(Integer.parseInt(spl[1]) < Integer.parseInt(spl[2])){
				System.out.println(spl[1]+" "+spl[2]+" "+spl[0]);
			}else{
				System.out.println(spl[2]+" "+spl[1]+" "+spl[0]);
			}
	}

} Main
import java.io.*;
public class Main {
		public static void main(String[] arg) throws IOException {
			InputStreamReader is = new InputStreamReader(System.in); 
	        BufferedReader br = new BufferedReader(is);
			String str = br.readLine();
			String[] spl = str.split(" ");
			int first = 0;
			int second = 1;
			int thrid = 2;
			if(Integer.parseInt(spl[0]) < Integer.parseInt(spl[1])){
				if(Integer.parseInt(spl[1]) < Integer.parseInt(spl[2])){
					System.out.println(spl[0]+" "+spl[1]+" "+spl[2]);
				}else if(Integer.parseInt(spl[0]) < Integer.parseInt(spl[2])){
					System.out.println(spl[0]+" "+spl[2]+" "+spl[1]);
				}else{
					System.out.println(spl[2]+" "+spl[0]+" "+spl[1]);
				}
			}else if(Integer.parseInt(spl[0]) < Integer.parseInt(spl[2])){
				System.out.println(spl[1]+" "+spl[0]+" "+spl[2]);
			}else if(Integer.parseInt(spl[1]) < Integer.parseInt(spl[2])){
				System.out.println(spl[1]+" "+spl[2]+" "+spl[0]);
			}else{
				System.out.println(spl[2]+" "+spl[1]+" "+spl[0]);
			}
	}

}