import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) throws IOException{

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));		
		String test = br.readLine();
		
		String[] res1 = test.split(" ");
		
		String c = null;
		
		if(Integer.parseInt(res1[0]) > Integer.parseInt(res1[1])){
			c = res1[0];
			res1[0] = res1[1];
			res1[1] = c;
		}
		
		if(Integer.parseInt(res1[1]) > Integer.parseInt(res1[2])){
			c = res1[1];
			res1[1] = res1[2];
			res1[2] = c;	
		}
		
		if(Integer.parseInt(res1[0]) > Integer.parseInt(res1[1])){
			c = res1[0];
			res1[0] = res1[1];
			res1[1] = c;
		}
		System.out.println(res1[0] + " " + res1[1] + " " + res1[2]);
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

	public static void main(String[] args) throws IOException{

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));		
		String test = br.readLine();
		
		String[] res1 = test.split(" ");
		
		String c = null;
		
		if(Integer.parseInt(res1[0]) > Integer.parseInt(res1[1])){
			c = res1[0];
			res1[0] = res1[1];
			res1[1] = c;
		}
		
		if(Integer.parseInt(res1[1]) > Integer.parseInt(res1[2])){
			c = res1[1];
			res1[1] = res1[2];
			res1[2] = c;	
		}
		
		if(Integer.parseInt(res1[0]) > Integer.parseInt(res1[1])){
			c = res1[0];
			res1[0] = res1[1];
			res1[1] = c;
		}
		System.out.println(res1[0] + " " + res1[1] + " " + res1[2]);
	}
} Main public static void main(String[] args) throws IOException{

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));		
		String test = br.readLine();
		
		String[] res1 = test.split(" ");
		
		String c = null;
		
		if(Integer.parseInt(res1[0]) > Integer.parseInt(res1[1])){
			c = res1[0];
			res1[0] = res1[1];
			res1[1] = c;
		}
		
		if(Integer.parseInt(res1[1]) > Integer.parseInt(res1[2])){
			c = res1[1];
			res1[1] = res1[2];
			res1[2] = c;	
		}
		
		if(Integer.parseInt(res1[0]) > Integer.parseInt(res1[1])){
			c = res1[0];
			res1[0] = res1[1];
			res1[1] = c;
		}
		System.out.println(res1[0] + " " + res1[1] + " " + res1[2]);
	} main {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));		
		String test = br.readLine();
		
		String[] res1 = test.split(" ");
		
		String c = null;
		
		if(Integer.parseInt(res1[0]) > Integer.parseInt(res1[1])){
			c = res1[0];
			res1[0] = res1[1];
			res1[1] = c;
		}
		
		if(Integer.parseInt(res1[1]) > Integer.parseInt(res1[2])){
			c = res1[1];
			res1[1] = res1[2];
			res1[2] = c;	
		}
		
		if(Integer.parseInt(res1[0]) > Integer.parseInt(res1[1])){
			c = res1[0];
			res1[0] = res1[1];
			res1[1] = c;
		}
		System.out.println(res1[0] + " " + res1[1] + " " + res1[2]);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String test = br.readLine(); test br.readLine() br.readLine br String[] res1 = test.split(" "); res1 test.split(" ") test.split test " " String c = null; c null if(Integer.parseInt(res1[0]) > Integer.parseInt(res1[1])){
			c = res1[0];
			res1[0] = res1[1];
			res1[1] = c;
		} Integer.parseInt(res1[0]) > Integer.parseInt(res1[1]) Integer.parseInt(res1[0]) Integer.parseInt Integer res1[0] res1 0 Integer.parseInt(res1[1]) Integer.parseInt Integer res1[1] res1 1 {
			c = res1[0];
			res1[0] = res1[1];
			res1[1] = c;
		} c = res1[0] c res1[0] res1 0 res1[0] = res1[1] res1[0] res1 0 res1[1] res1 1 res1[1] = c res1[1] res1 1 c if(Integer.parseInt(res1[1]) > Integer.parseInt(res1[2])){
			c = res1[1];
			res1[1] = res1[2];
			res1[2] = c;	
		} Integer.parseInt(res1[1]) > Integer.parseInt(res1[2]) Integer.parseInt(res1[1]) Integer.parseInt Integer res1[1] res1 1 Integer.parseInt(res1[2]) Integer.parseInt Integer res1[2] res1 2 {
			c = res1[1];
			res1[1] = res1[2];
			res1[2] = c;	
		} c = res1[1] c res1[1] res1 1 res1[1] = res1[2] res1[1] res1 1 res1[2] res1 2 res1[2] = c res1[2] res1 2 c if(Integer.parseInt(res1[0]) > Integer.parseInt(res1[1])){
			c = res1[0];
			res1[0] = res1[1];
			res1[1] = c;
		} Integer.parseInt(res1[0]) > Integer.parseInt(res1[1]) Integer.parseInt(res1[0]) Integer.parseInt Integer res1[0] res1 0 Integer.parseInt(res1[1]) Integer.parseInt Integer res1[1] res1 1 {
			c = res1[0];
			res1[0] = res1[1];
			res1[1] = c;
		} c = res1[0] c res1[0] res1 0 res1[0] = res1[1] res1[0] res1 0 res1[1] res1 1 res1[1] = c res1[1] res1 1 c System.out.println(res1[0] + " " + res1[1] + " " + res1[2]) System.out.println System.out System System.out res1[0] + " " + res1[1] + " " + res1[2] " " res1[1] res1[0] + " " + res1[1] + " " + res1[2] res1[0] res1 0 " " res1[1] res1 1 " " res1[2] res1 2 String[] args args public class Main {

	public static void main(String[] args) throws IOException{

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));		
		String test = br.readLine();
		
		String[] res1 = test.split(" ");
		
		String c = null;
		
		if(Integer.parseInt(res1[0]) > Integer.parseInt(res1[1])){
			c = res1[0];
			res1[0] = res1[1];
			res1[1] = c;
		}
		
		if(Integer.parseInt(res1[1]) > Integer.parseInt(res1[2])){
			c = res1[1];
			res1[1] = res1[2];
			res1[2] = c;	
		}
		
		if(Integer.parseInt(res1[0]) > Integer.parseInt(res1[1])){
			c = res1[0];
			res1[0] = res1[1];
			res1[1] = c;
		}
		System.out.println(res1[0] + " " + res1[1] + " " + res1[2]);
	}
} public class Main {

	public static void main(String[] args) throws IOException{

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));		
		String test = br.readLine();
		
		String[] res1 = test.split(" ");
		
		String c = null;
		
		if(Integer.parseInt(res1[0]) > Integer.parseInt(res1[1])){
			c = res1[0];
			res1[0] = res1[1];
			res1[1] = c;
		}
		
		if(Integer.parseInt(res1[1]) > Integer.parseInt(res1[2])){
			c = res1[1];
			res1[1] = res1[2];
			res1[2] = c;	
		}
		
		if(Integer.parseInt(res1[0]) > Integer.parseInt(res1[1])){
			c = res1[0];
			res1[0] = res1[1];
			res1[1] = c;
		}
		System.out.println(res1[0] + " " + res1[1] + " " + res1[2]);
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) throws IOException{

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));		
		String test = br.readLine();
		
		String[] res1 = test.split(" ");
		
		String c = null;
		
		if(Integer.parseInt(res1[0]) > Integer.parseInt(res1[1])){
			c = res1[0];
			res1[0] = res1[1];
			res1[1] = c;
		}
		
		if(Integer.parseInt(res1[1]) > Integer.parseInt(res1[2])){
			c = res1[1];
			res1[1] = res1[2];
			res1[2] = c;	
		}
		
		if(Integer.parseInt(res1[0]) > Integer.parseInt(res1[1])){
			c = res1[0];
			res1[0] = res1[1];
			res1[1] = c;
		}
		System.out.println(res1[0] + " " + res1[1] + " " + res1[2]);
	}
}