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


public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
		String [] str = bufferedReader.readLine().split(" ");
		Integer a = Integer.parseInt(str[0]);
		Integer b = Integer.parseInt(str[1]);
		Integer c = Integer.parseInt(str[2]);
		Integer tmp;
		
		Integer [] inlist = new Integer[str.length];
		
		for(int i = 0; i < str.length; i++){
			inlist[i] = Integer.parseInt(str[i]);
		}
		Arrays.sort(inlist);
	
		System.out.println(inlist[0] + " "+ inlist[1] + " " + inlist[2]);
		
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Arrays; Arrays java.util public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
		String [] str = bufferedReader.readLine().split(" ");
		Integer a = Integer.parseInt(str[0]);
		Integer b = Integer.parseInt(str[1]);
		Integer c = Integer.parseInt(str[2]);
		Integer tmp;
		
		Integer [] inlist = new Integer[str.length];
		
		for(int i = 0; i < str.length; i++){
			inlist[i] = Integer.parseInt(str[i]);
		}
		Arrays.sort(inlist);
	
		System.out.println(inlist[0] + " "+ inlist[1] + " " + inlist[2]);
		
	}
} Main public static void main(String[] args) throws IOException {
		BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
		String [] str = bufferedReader.readLine().split(" ");
		Integer a = Integer.parseInt(str[0]);
		Integer b = Integer.parseInt(str[1]);
		Integer c = Integer.parseInt(str[2]);
		Integer tmp;
		
		Integer [] inlist = new Integer[str.length];
		
		for(int i = 0; i < str.length; i++){
			inlist[i] = Integer.parseInt(str[i]);
		}
		Arrays.sort(inlist);
	
		System.out.println(inlist[0] + " "+ inlist[1] + " " + inlist[2]);
		
	} main {
		BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
		String [] str = bufferedReader.readLine().split(" ");
		Integer a = Integer.parseInt(str[0]);
		Integer b = Integer.parseInt(str[1]);
		Integer c = Integer.parseInt(str[2]);
		Integer tmp;
		
		Integer [] inlist = new Integer[str.length];
		
		for(int i = 0; i < str.length; i++){
			inlist[i] = Integer.parseInt(str[i]);
		}
		Arrays.sort(inlist);
	
		System.out.println(inlist[0] + " "+ inlist[1] + " " + inlist[2]);
		
	} BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); bufferedReader new BufferedReader(new InputStreamReader(System.in)) String [] str = bufferedReader.readLine().split(" "); str bufferedReader.readLine().split(" ") bufferedReader.readLine().split bufferedReader.readLine() bufferedReader.readLine bufferedReader " " Integer a = Integer.parseInt(str[0]); a Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 Integer b = Integer.parseInt(str[1]); b Integer.parseInt(str[1]) Integer.parseInt Integer str[1] str 1 Integer c = Integer.parseInt(str[2]); c Integer.parseInt(str[2]) Integer.parseInt Integer str[2] str 2 Integer tmp; tmp Integer [] inlist = new Integer[str.length]; inlist new Integer[str.length] str.length str str.length for(int i = 0; i < str.length; i++){
			inlist[i] = Integer.parseInt(str[i]);
		} int i = 0; int i = 0; i 0 i < str.length i str.length str str.length i++ i++ i {
			inlist[i] = Integer.parseInt(str[i]);
		} {
			inlist[i] = Integer.parseInt(str[i]);
		} inlist[i] = Integer.parseInt(str[i]) inlist[i] inlist i Integer.parseInt(str[i]) Integer.parseInt Integer str[i] str i Arrays.sort(inlist) Arrays.sort Arrays inlist System.out.println(inlist[0] + " "+ inlist[1] + " " + inlist[2]) System.out.println System.out System System.out inlist[0] + " "+ inlist[1] + " " + inlist[2] " " inlist[1] inlist[0] + " "+ inlist[1] + " " + inlist[2] inlist[0] inlist 0 " " inlist[1] inlist 1 " " inlist[2] inlist 2 String[] args args public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
		String [] str = bufferedReader.readLine().split(" ");
		Integer a = Integer.parseInt(str[0]);
		Integer b = Integer.parseInt(str[1]);
		Integer c = Integer.parseInt(str[2]);
		Integer tmp;
		
		Integer [] inlist = new Integer[str.length];
		
		for(int i = 0; i < str.length; i++){
			inlist[i] = Integer.parseInt(str[i]);
		}
		Arrays.sort(inlist);
	
		System.out.println(inlist[0] + " "+ inlist[1] + " " + inlist[2]);
		
	}
} public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
		String [] str = bufferedReader.readLine().split(" ");
		Integer a = Integer.parseInt(str[0]);
		Integer b = Integer.parseInt(str[1]);
		Integer c = Integer.parseInt(str[2]);
		Integer tmp;
		
		Integer [] inlist = new Integer[str.length];
		
		for(int i = 0; i < str.length; i++){
			inlist[i] = Integer.parseInt(str[i]);
		}
		Arrays.sort(inlist);
	
		System.out.println(inlist[0] + " "+ inlist[1] + " " + inlist[2]);
		
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;


public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
		String [] str = bufferedReader.readLine().split(" ");
		Integer a = Integer.parseInt(str[0]);
		Integer b = Integer.parseInt(str[1]);
		Integer c = Integer.parseInt(str[2]);
		Integer tmp;
		
		Integer [] inlist = new Integer[str.length];
		
		for(int i = 0; i < str.length; i++){
			inlist[i] = Integer.parseInt(str[i]);
		}
		Arrays.sort(inlist);
	
		System.out.println(inlist[0] + " "+ inlist[1] + " " + inlist[2]);
		
	}
}