
import static java.lang.Integer.parseInt;

public class Main {
    public static void main (String[] args) {
        String line = new java.util.Scanner ( System.in ).nextLine();
        String[] number = line.split(" ", 0);
        int[] numbers;
        numbers = new int[3];

        // ???????????????
        for (int i = 0;i <= 2; i++ ) {
            numbers[i] = Integer.parseInt(number[i]);
        }
        int[] ans = Sort (numbers);
        
        System.out.println(ans[0] + " " + ans[1] + " " + ans[2]);
    }
    public static int[] Sort(int[] number) {
        int c;
        for (int i = 0; i < 2 ;i++) {
            for (int x = 1; x <= 2 ;x++) {
                if (number[i] > number[x]) {
                    c = number[i];
                    number[i] = number[x];
                    number[x] = c;
                }
            }
        }
        return number;
    }
} import static java.lang.Integer.parseInt; import static java.lang.Integer.parseInt; import static java.lang.Integer.parseInt; public class Main {
    public static void main (String[] args) {
        String line = new java.util.Scanner ( System.in ).nextLine();
        String[] number = line.split(" ", 0);
        int[] numbers;
        numbers = new int[3];

        // ???????????????
        for (int i = 0;i <= 2; i++ ) {
            numbers[i] = Integer.parseInt(number[i]);
        }
        int[] ans = Sort (numbers);
        
        System.out.println(ans[0] + " " + ans[1] + " " + ans[2]);
    }
    public static int[] Sort(int[] number) {
        int c;
        for (int i = 0; i < 2 ;i++) {
            for (int x = 1; x <= 2 ;x++) {
                if (number[i] > number[x]) {
                    c = number[i];
                    number[i] = number[x];
                    number[x] = c;
                }
            }
        }
        return number;
    }
} Main public static void main (String[] args) {
        String line = new java.util.Scanner ( System.in ).nextLine();
        String[] number = line.split(" ", 0);
        int[] numbers;
        numbers = new int[3];

        // ???????????????
        for (int i = 0;i <= 2; i++ ) {
            numbers[i] = Integer.parseInt(number[i]);
        }
        int[] ans = Sort (numbers);
        
        System.out.println(ans[0] + " " + ans[1] + " " + ans[2]);
    } main {
        String line = new java.util.Scanner ( System.in ).nextLine();
        String[] number = line.split(" ", 0);
        int[] numbers;
        numbers = new int[3];

        // ???????????????
        for (int i = 0;i <= 2; i++ ) {
            numbers[i] = Integer.parseInt(number[i]);
        }
        int[] ans = Sort (numbers);
        
        System.out.println(ans[0] + " " + ans[1] + " " + ans[2]);
    } String line = new java.util.Scanner ( System.in ).nextLine(); line new java.util.Scanner ( System.in ).nextLine() new java.util.Scanner ( System.in ).nextLine new java.util.Scanner ( System.in ) String[] number = line.split(" ", 0); number line.split(" ", 0) line.split line " " 0 int[] numbers; numbers numbers = new int[3] numbers new int[3] 3 for (int i = 0;i <= 2; i++ ) {
            numbers[i] = Integer.parseInt(number[i]);
        } int i = 0; int i = 0; i 0 i <= 2 i 2 i++ i++ i {
            numbers[i] = Integer.parseInt(number[i]);
        } {
            numbers[i] = Integer.parseInt(number[i]);
        } numbers[i] = Integer.parseInt(number[i]) numbers[i] numbers i Integer.parseInt(number[i]) Integer.parseInt Integer number[i] number i int[] ans = Sort (numbers); ans Sort (numbers) Sort numbers 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 static int[] Sort(int[] number) {
        int c;
        for (int i = 0; i < 2 ;i++) {
            for (int x = 1; x <= 2 ;x++) {
                if (number[i] > number[x]) {
                    c = number[i];
                    number[i] = number[x];
                    number[x] = c;
                }
            }
        }
        return number;
    } Sort {
        int c;
        for (int i = 0; i < 2 ;i++) {
            for (int x = 1; x <= 2 ;x++) {
                if (number[i] > number[x]) {
                    c = number[i];
                    number[i] = number[x];
                    number[x] = c;
                }
            }
        }
        return number;
    } int c; c for (int i = 0; i < 2 ;i++) {
            for (int x = 1; x <= 2 ;x++) {
                if (number[i] > number[x]) {
                    c = number[i];
                    number[i] = number[x];
                    number[x] = c;
                }
            }
        } int i = 0; int i = 0; i 0 i < 2 i 2 i++ i++ i {
            for (int x = 1; x <= 2 ;x++) {
                if (number[i] > number[x]) {
                    c = number[i];
                    number[i] = number[x];
                    number[x] = c;
                }
            }
        } {
            for (int x = 1; x <= 2 ;x++) {
                if (number[i] > number[x]) {
                    c = number[i];
                    number[i] = number[x];
                    number[x] = c;
                }
            }
        } for (int x = 1; x <= 2 ;x++) {
                if (number[i] > number[x]) {
                    c = number[i];
                    number[i] = number[x];
                    number[x] = c;
                }
            } int x = 1; int x = 1; x 1 x <= 2 x 2 x++ x++ x {
                if (number[i] > number[x]) {
                    c = number[i];
                    number[i] = number[x];
                    number[x] = c;
                }
            } {
                if (number[i] > number[x]) {
                    c = number[i];
                    number[i] = number[x];
                    number[x] = c;
                }
            } if (number[i] > number[x]) {
                    c = number[i];
                    number[i] = number[x];
                    number[x] = c;
                } number[i] > number[x] number[i] number i number[x] number x {
                    c = number[i];
                    number[i] = number[x];
                    number[x] = c;
                } c = number[i] c number[i] number i number[i] = number[x] number[i] number i number[x] number x number[x] = c number[x] number x c return number; number int[] number number public class Main {
    public static void main (String[] args) {
        String line = new java.util.Scanner ( System.in ).nextLine();
        String[] number = line.split(" ", 0);
        int[] numbers;
        numbers = new int[3];

        // ???????????????
        for (int i = 0;i <= 2; i++ ) {
            numbers[i] = Integer.parseInt(number[i]);
        }
        int[] ans = Sort (numbers);
        
        System.out.println(ans[0] + " " + ans[1] + " " + ans[2]);
    }
    public static int[] Sort(int[] number) {
        int c;
        for (int i = 0; i < 2 ;i++) {
            for (int x = 1; x <= 2 ;x++) {
                if (number[i] > number[x]) {
                    c = number[i];
                    number[i] = number[x];
                    number[x] = c;
                }
            }
        }
        return number;
    }
} public class Main {
    public static void main (String[] args) {
        String line = new java.util.Scanner ( System.in ).nextLine();
        String[] number = line.split(" ", 0);
        int[] numbers;
        numbers = new int[3];

        // ???????????????
        for (int i = 0;i <= 2; i++ ) {
            numbers[i] = Integer.parseInt(number[i]);
        }
        int[] ans = Sort (numbers);
        
        System.out.println(ans[0] + " " + ans[1] + " " + ans[2]);
    }
    public static int[] Sort(int[] number) {
        int c;
        for (int i = 0; i < 2 ;i++) {
            for (int x = 1; x <= 2 ;x++) {
                if (number[i] > number[x]) {
                    c = number[i];
                    number[i] = number[x];
                    number[x] = c;
                }
            }
        }
        return number;
    }
} Main

import static java.lang.Integer.parseInt;

public class Main {
    public static void main (String[] args) {
        String line = new java.util.Scanner ( System.in ).nextLine();
        String[] number = line.split(" ", 0);
        int[] numbers;
        numbers = new int[3];

        // ???????????????
        for (int i = 0;i <= 2; i++ ) {
            numbers[i] = Integer.parseInt(number[i]);
        }
        int[] ans = Sort (numbers);
        
        System.out.println(ans[0] + " " + ans[1] + " " + ans[2]);
    }
    public static int[] Sort(int[] number) {
        int c;
        for (int i = 0; i < 2 ;i++) {
            for (int x = 1; x <= 2 ;x++) {
                if (number[i] > number[x]) {
                    c = number[i];
                    number[i] = number[x];
                    number[x] = c;
                }
            }
        }
        return number;
    }
}