import java.io.*;

class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader reader =
            new BufferedReader(new InputStreamReader(System.in));

        String[] line = reader.readLine().split(" ");
        int[] num = new int[line.length];
        for (int i = 0; i < line.length; i++) {
            num[i] = Integer.parseInt(line[i]);
        }

        for (int i = 0; i < num.length - 1; i++) {
            for (int j = i + 1; j < num.length; j++) {
                if (num[i] > num[j]) {
                    int w = num[i];
                    num[i] = num[j];
                    num[j] = w;
                }
            }
        }
        System.out.println(num[0] + " " + num[1] + " " + num[2]);
    }
} import java.io.*; io.* java class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader reader =
            new BufferedReader(new InputStreamReader(System.in));

        String[] line = reader.readLine().split(" ");
        int[] num = new int[line.length];
        for (int i = 0; i < line.length; i++) {
            num[i] = Integer.parseInt(line[i]);
        }

        for (int i = 0; i < num.length - 1; i++) {
            for (int j = i + 1; j < num.length; j++) {
                if (num[i] > num[j]) {
                    int w = num[i];
                    num[i] = num[j];
                    num[j] = w;
                }
            }
        }
        System.out.println(num[0] + " " + num[1] + " " + num[2]);
    }
} Main public static void main(String[] args) throws IOException {
        BufferedReader reader =
            new BufferedReader(new InputStreamReader(System.in));

        String[] line = reader.readLine().split(" ");
        int[] num = new int[line.length];
        for (int i = 0; i < line.length; i++) {
            num[i] = Integer.parseInt(line[i]);
        }

        for (int i = 0; i < num.length - 1; i++) {
            for (int j = i + 1; j < num.length; j++) {
                if (num[i] > num[j]) {
                    int w = num[i];
                    num[i] = num[j];
                    num[j] = w;
                }
            }
        }
        System.out.println(num[0] + " " + num[1] + " " + num[2]);
    } main {
        BufferedReader reader =
            new BufferedReader(new InputStreamReader(System.in));

        String[] line = reader.readLine().split(" ");
        int[] num = new int[line.length];
        for (int i = 0; i < line.length; i++) {
            num[i] = Integer.parseInt(line[i]);
        }

        for (int i = 0; i < num.length - 1; i++) {
            for (int j = i + 1; j < num.length; j++) {
                if (num[i] > num[j]) {
                    int w = num[i];
                    num[i] = num[j];
                    num[j] = w;
                }
            }
        }
        System.out.println(num[0] + " " + num[1] + " " + num[2]);
    } BufferedReader reader =
            new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) String[] line = reader.readLine().split(" "); line reader.readLine().split(" ") reader.readLine().split reader.readLine() reader.readLine reader " " int[] num = new int[line.length]; num new int[line.length] line.length line line.length for (int i = 0; i < line.length; i++) {
            num[i] = Integer.parseInt(line[i]);
        } int i = 0; int i = 0; i 0 i < line.length i line.length line line.length i++ i++ i {
            num[i] = Integer.parseInt(line[i]);
        } {
            num[i] = Integer.parseInt(line[i]);
        } num[i] = Integer.parseInt(line[i]) num[i] num i Integer.parseInt(line[i]) Integer.parseInt Integer line[i] line i for (int i = 0; i < num.length - 1; i++) {
            for (int j = i + 1; j < num.length; j++) {
                if (num[i] > num[j]) {
                    int w = num[i];
                    num[i] = num[j];
                    num[j] = w;
                }
            }
        } int i = 0; int i = 0; i 0 i < num.length - 1 i num.length - 1 num.length num num.length 1 i++ i++ i {
            for (int j = i + 1; j < num.length; j++) {
                if (num[i] > num[j]) {
                    int w = num[i];
                    num[i] = num[j];
                    num[j] = w;
                }
            }
        } {
            for (int j = i + 1; j < num.length; j++) {
                if (num[i] > num[j]) {
                    int w = num[i];
                    num[i] = num[j];
                    num[j] = w;
                }
            }
        } for (int j = i + 1; j < num.length; j++) {
                if (num[i] > num[j]) {
                    int w = num[i];
                    num[i] = num[j];
                    num[j] = w;
                }
            } int j = i + 1; int j = i + 1; j i + 1 i 1 j < num.length j num.length num num.length j++ j++ j {
                if (num[i] > num[j]) {
                    int w = num[i];
                    num[i] = num[j];
                    num[j] = w;
                }
            } {
                if (num[i] > num[j]) {
                    int w = num[i];
                    num[i] = num[j];
                    num[j] = w;
                }
            } if (num[i] > num[j]) {
                    int w = num[i];
                    num[i] = num[j];
                    num[j] = w;
                } num[i] > num[j] num[i] num i num[j] num j {
                    int w = num[i];
                    num[i] = num[j];
                    num[j] = w;
                } int w = num[i]; w num[i] num i num[i] = num[j] num[i] num i num[j] num j num[j] = w num[j] num j w 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
import java.io.*;

class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader reader =
            new BufferedReader(new InputStreamReader(System.in));

        String[] line = reader.readLine().split(" ");
        int[] num = new int[line.length];
        for (int i = 0; i < line.length; i++) {
            num[i] = Integer.parseInt(line[i]);
        }

        for (int i = 0; i < num.length - 1; i++) {
            for (int j = i + 1; j < num.length; j++) {
                if (num[i] > num[j]) {
                    int w = num[i];
                    num[i] = num[j];
                    num[j] = w;
                }
            }
        }
        System.out.println(num[0] + " " + num[1] + " " + num[2]);
    }
}