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().split(" ");
        int[] num = new int[3];
        num[0] = Integer.parseInt(str[0]);
        num[1] = Integer.parseInt(str[1]);
        num[2] = Integer.parseInt(str[2]);
        for(int i = 0; i<3; i++){
            int indexMin = i;
            for(int k = i + 1; k<3; k++){
                if(num[k] < num[indexMin]){
                    indexMin = k;
                }
            }
            int swp = num[i];
            num[i] = num[indexMin];
            num[indexMin] = swp;
        }
        System.out.println(num[0] +" "+ num[1] +" "+ num[2]);

    }
} 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().split(" ");
        int[] num = new int[3];
        num[0] = Integer.parseInt(str[0]);
        num[1] = Integer.parseInt(str[1]);
        num[2] = Integer.parseInt(str[2]);
        for(int i = 0; i<3; i++){
            int indexMin = i;
            for(int k = i + 1; k<3; k++){
                if(num[k] < num[indexMin]){
                    indexMin = k;
                }
            }
            int swp = num[i];
            num[i] = num[indexMin];
            num[indexMin] = swp;
        }
        System.out.println(num[0] +" "+ num[1] +" "+ num[2]);

    }
} Main public static void main(String[]args)throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String[] str = br.readLine().split(" ");
        int[] num = new int[3];
        num[0] = Integer.parseInt(str[0]);
        num[1] = Integer.parseInt(str[1]);
        num[2] = Integer.parseInt(str[2]);
        for(int i = 0; i<3; i++){
            int indexMin = i;
            for(int k = i + 1; k<3; k++){
                if(num[k] < num[indexMin]){
                    indexMin = k;
                }
            }
            int swp = num[i];
            num[i] = num[indexMin];
            num[indexMin] = swp;
        }
        System.out.println(num[0] +" "+ num[1] +" "+ num[2]);

    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String[] str = br.readLine().split(" ");
        int[] num = new int[3];
        num[0] = Integer.parseInt(str[0]);
        num[1] = Integer.parseInt(str[1]);
        num[2] = Integer.parseInt(str[2]);
        for(int i = 0; i<3; i++){
            int indexMin = i;
            for(int k = i + 1; k<3; k++){
                if(num[k] < num[indexMin]){
                    indexMin = k;
                }
            }
            int swp = num[i];
            num[i] = num[indexMin];
            num[indexMin] = swp;
        }
        System.out.println(num[0] +" "+ num[1] +" "+ num[2]);

    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String[] str = br.readLine().split(" "); str br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int[] num = new int[3]; num new int[3] 3 num[0] = Integer.parseInt(str[0]) num[0] num 0 Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 num[1] = Integer.parseInt(str[1]) num[1] num 1 Integer.parseInt(str[1]) Integer.parseInt Integer str[1] str 1 num[2] = Integer.parseInt(str[2]) num[2] num 2 Integer.parseInt(str[2]) Integer.parseInt Integer str[2] str 2 for(int i = 0; i<3; i++){
            int indexMin = i;
            for(int k = i + 1; k<3; k++){
                if(num[k] < num[indexMin]){
                    indexMin = k;
                }
            }
            int swp = num[i];
            num[i] = num[indexMin];
            num[indexMin] = swp;
        } int i = 0; int i = 0; i 0 i<3 i 3 i++ i++ i {
            int indexMin = i;
            for(int k = i + 1; k<3; k++){
                if(num[k] < num[indexMin]){
                    indexMin = k;
                }
            }
            int swp = num[i];
            num[i] = num[indexMin];
            num[indexMin] = swp;
        } {
            int indexMin = i;
            for(int k = i + 1; k<3; k++){
                if(num[k] < num[indexMin]){
                    indexMin = k;
                }
            }
            int swp = num[i];
            num[i] = num[indexMin];
            num[indexMin] = swp;
        } int indexMin = i; indexMin i for(int k = i + 1; k<3; k++){
                if(num[k] < num[indexMin]){
                    indexMin = k;
                }
            } int k = i + 1; int k = i + 1; k i + 1 i 1 k<3 k 3 k++ k++ k {
                if(num[k] < num[indexMin]){
                    indexMin = k;
                }
            } {
                if(num[k] < num[indexMin]){
                    indexMin = k;
                }
            } if(num[k] < num[indexMin]){
                    indexMin = k;
                } num[k] < num[indexMin] num[k] num k num[indexMin] num indexMin {
                    indexMin = k;
                } indexMin = k indexMin k int swp = num[i]; swp num[i] num i num[i] = num[indexMin] num[i] num i num[indexMin] num indexMin num[indexMin] = swp num[indexMin] num indexMin swp System.out.println(num[0] +" "+ num[1] +" "+ num[2]) System.out.println System.out System System.out num[0] +" "+ num[1] +" "+ num[2] " " num[1] num[0] +" "+ num[1] +" "+ num[2] num[0] num 0 " " num[1] num 1 " " num[2] num 2 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().split(" ");
        int[] num = new int[3];
        num[0] = Integer.parseInt(str[0]);
        num[1] = Integer.parseInt(str[1]);
        num[2] = Integer.parseInt(str[2]);
        for(int i = 0; i<3; i++){
            int indexMin = i;
            for(int k = i + 1; k<3; k++){
                if(num[k] < num[indexMin]){
                    indexMin = k;
                }
            }
            int swp = num[i];
            num[i] = num[indexMin];
            num[indexMin] = swp;
        }
        System.out.println(num[0] +" "+ num[1] +" "+ num[2]);

    }
} public class Main{
    public static void main(String[]args)throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String[] str = br.readLine().split(" ");
        int[] num = new int[3];
        num[0] = Integer.parseInt(str[0]);
        num[1] = Integer.parseInt(str[1]);
        num[2] = Integer.parseInt(str[2]);
        for(int i = 0; i<3; i++){
            int indexMin = i;
            for(int k = i + 1; k<3; k++){
                if(num[k] < num[indexMin]){
                    indexMin = k;
                }
            }
            int swp = num[i];
            num[i] = num[indexMin];
            num[indexMin] = swp;
        }
        System.out.println(num[0] +" "+ num[1] +" "+ num[2]);

    }
} 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().split(" ");
        int[] num = new int[3];
        num[0] = Integer.parseInt(str[0]);
        num[1] = Integer.parseInt(str[1]);
        num[2] = Integer.parseInt(str[2]);
        for(int i = 0; i<3; i++){
            int indexMin = i;
            for(int k = i + 1; k<3; k++){
                if(num[k] < num[indexMin]){
                    indexMin = k;
                }
            }
            int swp = num[i];
            num[i] = num[indexMin];
            num[indexMin] = swp;
        }
        System.out.println(num[0] +" "+ num[1] +" "+ num[2]);

    }
}