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

public class Main {

	public static void main(String[] args) throws Exception{
		// TODO ?????????????????????????????????????????????
		String str[];
		int ans[] = new int[3];
		int stock;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        str = br.readLine().split(" ");
        ans[0] = Integer.parseInt(str[0]);
        ans[1] = Integer.parseInt(str[1]);
        ans[2] = Integer.parseInt(str[2]);
        for(int i = 0; i < str.length; i++){
        	for(int j = i + 1; j < str.length; j++){
            	if(ans[j] < ans[i]){
            		stock = ans[i];
            		ans[i] = ans[j];
            		ans[j] = stock;
            	}
            }
        }
        System.out.println(ans[0] + " " + ans[1] + " " + ans[2]);

	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

	public static void main(String[] args) throws Exception{
		// TODO ?????????????????????????????????????????????
		String str[];
		int ans[] = new int[3];
		int stock;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        str = br.readLine().split(" ");
        ans[0] = Integer.parseInt(str[0]);
        ans[1] = Integer.parseInt(str[1]);
        ans[2] = Integer.parseInt(str[2]);
        for(int i = 0; i < str.length; i++){
        	for(int j = i + 1; j < str.length; j++){
            	if(ans[j] < ans[i]){
            		stock = ans[i];
            		ans[i] = ans[j];
            		ans[j] = stock;
            	}
            }
        }
        System.out.println(ans[0] + " " + ans[1] + " " + ans[2]);

	}

} Main public static void main(String[] args) throws Exception{
		// TODO ?????????????????????????????????????????????
		String str[];
		int ans[] = new int[3];
		int stock;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        str = br.readLine().split(" ");
        ans[0] = Integer.parseInt(str[0]);
        ans[1] = Integer.parseInt(str[1]);
        ans[2] = Integer.parseInt(str[2]);
        for(int i = 0; i < str.length; i++){
        	for(int j = i + 1; j < str.length; j++){
            	if(ans[j] < ans[i]){
            		stock = ans[i];
            		ans[i] = ans[j];
            		ans[j] = stock;
            	}
            }
        }
        System.out.println(ans[0] + " " + ans[1] + " " + ans[2]);

	} main {
		// TODO ?????????????????????????????????????????????
		String str[];
		int ans[] = new int[3];
		int stock;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        str = br.readLine().split(" ");
        ans[0] = Integer.parseInt(str[0]);
        ans[1] = Integer.parseInt(str[1]);
        ans[2] = Integer.parseInt(str[2]);
        for(int i = 0; i < str.length; i++){
        	for(int j = i + 1; j < str.length; j++){
            	if(ans[j] < ans[i]){
            		stock = ans[i];
            		ans[i] = ans[j];
            		ans[j] = stock;
            	}
            }
        }
        System.out.println(ans[0] + " " + ans[1] + " " + ans[2]);

	} String str[]; str int ans[] = new int[3]; ans new int[3] 3 int stock; stock BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) str = br.readLine().split(" ") str br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " ans[0] = Integer.parseInt(str[0]) ans[0] ans 0 Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 ans[1] = Integer.parseInt(str[1]) ans[1] ans 1 Integer.parseInt(str[1]) Integer.parseInt Integer str[1] str 1 ans[2] = Integer.parseInt(str[2]) ans[2] ans 2 Integer.parseInt(str[2]) Integer.parseInt Integer str[2] str 2 for(int i = 0; i < str.length; i++){
        	for(int j = i + 1; j < str.length; j++){
            	if(ans[j] < ans[i]){
            		stock = ans[i];
            		ans[i] = ans[j];
            		ans[j] = stock;
            	}
            }
        } int i = 0; int i = 0; i 0 i < str.length i str.length str str.length i++ i++ i {
        	for(int j = i + 1; j < str.length; j++){
            	if(ans[j] < ans[i]){
            		stock = ans[i];
            		ans[i] = ans[j];
            		ans[j] = stock;
            	}
            }
        } {
        	for(int j = i + 1; j < str.length; j++){
            	if(ans[j] < ans[i]){
            		stock = ans[i];
            		ans[i] = ans[j];
            		ans[j] = stock;
            	}
            }
        } for(int j = i + 1; j < str.length; j++){
            	if(ans[j] < ans[i]){
            		stock = ans[i];
            		ans[i] = ans[j];
            		ans[j] = stock;
            	}
            } int j = i + 1; int j = i + 1; j i + 1 i 1 j < str.length j str.length str str.length j++ j++ j {
            	if(ans[j] < ans[i]){
            		stock = ans[i];
            		ans[i] = ans[j];
            		ans[j] = stock;
            	}
            } {
            	if(ans[j] < ans[i]){
            		stock = ans[i];
            		ans[i] = ans[j];
            		ans[j] = stock;
            	}
            } if(ans[j] < ans[i]){
            		stock = ans[i];
            		ans[i] = ans[j];
            		ans[j] = stock;
            	} ans[j] < ans[i] ans[j] ans j ans[i] ans i {
            		stock = ans[i];
            		ans[i] = ans[j];
            		ans[j] = stock;
            	} stock = ans[i] stock ans[i] ans i ans[i] = ans[j] ans[i] ans i ans[j] ans j ans[j] = stock ans[j] ans j stock 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 String[] args args public class Main {

	public static void main(String[] args) throws Exception{
		// TODO ?????????????????????????????????????????????
		String str[];
		int ans[] = new int[3];
		int stock;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        str = br.readLine().split(" ");
        ans[0] = Integer.parseInt(str[0]);
        ans[1] = Integer.parseInt(str[1]);
        ans[2] = Integer.parseInt(str[2]);
        for(int i = 0; i < str.length; i++){
        	for(int j = i + 1; j < str.length; j++){
            	if(ans[j] < ans[i]){
            		stock = ans[i];
            		ans[i] = ans[j];
            		ans[j] = stock;
            	}
            }
        }
        System.out.println(ans[0] + " " + ans[1] + " " + ans[2]);

	}

} public class Main {

	public static void main(String[] args) throws Exception{
		// TODO ?????????????????????????????????????????????
		String str[];
		int ans[] = new int[3];
		int stock;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        str = br.readLine().split(" ");
        ans[0] = Integer.parseInt(str[0]);
        ans[1] = Integer.parseInt(str[1]);
        ans[2] = Integer.parseInt(str[2]);
        for(int i = 0; i < str.length; i++){
        	for(int j = i + 1; j < str.length; j++){
            	if(ans[j] < ans[i]){
            		stock = ans[i];
            		ans[i] = ans[j];
            		ans[j] = stock;
            	}
            }
        }
        System.out.println(ans[0] + " " + ans[1] + " " + ans[2]);

	}

} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) throws Exception{
		// TODO ?????????????????????????????????????????????
		String str[];
		int ans[] = new int[3];
		int stock;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        str = br.readLine().split(" ");
        ans[0] = Integer.parseInt(str[0]);
        ans[1] = Integer.parseInt(str[1]);
        ans[2] = Integer.parseInt(str[2]);
        for(int i = 0; i < str.length; i++){
        	for(int j = i + 1; j < str.length; j++){
            	if(ans[j] < ans[i]){
            		stock = ans[i];
            		ans[i] = ans[j];
            		ans[j] = stock;
            	}
            }
        }
        System.out.println(ans[0] + " " + ans[1] + " " + ans[2]);

	}

}