import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int input[] = { sc.nextInt(), sc.nextInt(), sc.nextInt() };
        int tmp;

        for (int i = 0; i < input.length; i++) {
            for (int j = i + 1; j < input.length; j++) {
                if (input[i] > input[j]) {
                    tmp = input[i];
                    input[i] = input[j];
                    input[j] = tmp;
                }
            }
        }
        StringBuffer sb = new StringBuffer(input[0] + " " + input[1] + " "
                + input[2]);
        System.out.println(sb);
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int input[] = { sc.nextInt(), sc.nextInt(), sc.nextInt() };
        int tmp;

        for (int i = 0; i < input.length; i++) {
            for (int j = i + 1; j < input.length; j++) {
                if (input[i] > input[j]) {
                    tmp = input[i];
                    input[i] = input[j];
                    input[j] = tmp;
                }
            }
        }
        StringBuffer sb = new StringBuffer(input[0] + " " + input[1] + " "
                + input[2]);
        System.out.println(sb);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int input[] = { sc.nextInt(), sc.nextInt(), sc.nextInt() };
        int tmp;

        for (int i = 0; i < input.length; i++) {
            for (int j = i + 1; j < input.length; j++) {
                if (input[i] > input[j]) {
                    tmp = input[i];
                    input[i] = input[j];
                    input[j] = tmp;
                }
            }
        }
        StringBuffer sb = new StringBuffer(input[0] + " " + input[1] + " "
                + input[2]);
        System.out.println(sb);
    } main {
        Scanner sc = new Scanner(System.in);
        int input[] = { sc.nextInt(), sc.nextInt(), sc.nextInt() };
        int tmp;

        for (int i = 0; i < input.length; i++) {
            for (int j = i + 1; j < input.length; j++) {
                if (input[i] > input[j]) {
                    tmp = input[i];
                    input[i] = input[j];
                    input[j] = tmp;
                }
            }
        }
        StringBuffer sb = new StringBuffer(input[0] + " " + input[1] + " "
                + input[2]);
        System.out.println(sb);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int input[] = { sc.nextInt(), sc.nextInt(), sc.nextInt() }; input { sc.nextInt(), sc.nextInt(), sc.nextInt() } sc.nextInt() sc.nextInt sc sc.nextInt() sc.nextInt sc sc.nextInt() sc.nextInt sc int tmp; tmp for (int i = 0; i < input.length; i++) {
            for (int j = i + 1; j < input.length; j++) {
                if (input[i] > input[j]) {
                    tmp = input[i];
                    input[i] = input[j];
                    input[j] = tmp;
                }
            }
        } int i = 0; int i = 0; i 0 i < input.length i input.length input input.length i++ i++ i {
            for (int j = i + 1; j < input.length; j++) {
                if (input[i] > input[j]) {
                    tmp = input[i];
                    input[i] = input[j];
                    input[j] = tmp;
                }
            }
        } {
            for (int j = i + 1; j < input.length; j++) {
                if (input[i] > input[j]) {
                    tmp = input[i];
                    input[i] = input[j];
                    input[j] = tmp;
                }
            }
        } for (int j = i + 1; j < input.length; j++) {
                if (input[i] > input[j]) {
                    tmp = input[i];
                    input[i] = input[j];
                    input[j] = tmp;
                }
            } int j = i + 1; int j = i + 1; j i + 1 i 1 j < input.length j input.length input input.length j++ j++ j {
                if (input[i] > input[j]) {
                    tmp = input[i];
                    input[i] = input[j];
                    input[j] = tmp;
                }
            } {
                if (input[i] > input[j]) {
                    tmp = input[i];
                    input[i] = input[j];
                    input[j] = tmp;
                }
            } if (input[i] > input[j]) {
                    tmp = input[i];
                    input[i] = input[j];
                    input[j] = tmp;
                } input[i] > input[j] input[i] input i input[j] input j {
                    tmp = input[i];
                    input[i] = input[j];
                    input[j] = tmp;
                } tmp = input[i] tmp input[i] input i input[i] = input[j] input[i] input i input[j] input j input[j] = tmp input[j] input j tmp StringBuffer sb = new StringBuffer(input[0] + " " + input[1] + " "
                + input[2]); sb new StringBuffer(input[0] + " " + input[1] + " "
                + input[2]) System.out.println(sb) System.out.println System.out System System.out sb String[] args args public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int input[] = { sc.nextInt(), sc.nextInt(), sc.nextInt() };
        int tmp;

        for (int i = 0; i < input.length; i++) {
            for (int j = i + 1; j < input.length; j++) {
                if (input[i] > input[j]) {
                    tmp = input[i];
                    input[i] = input[j];
                    input[j] = tmp;
                }
            }
        }
        StringBuffer sb = new StringBuffer(input[0] + " " + input[1] + " "
                + input[2]);
        System.out.println(sb);
    }
} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int input[] = { sc.nextInt(), sc.nextInt(), sc.nextInt() };
        int tmp;

        for (int i = 0; i < input.length; i++) {
            for (int j = i + 1; j < input.length; j++) {
                if (input[i] > input[j]) {
                    tmp = input[i];
                    input[i] = input[j];
                    input[j] = tmp;
                }
            }
        }
        StringBuffer sb = new StringBuffer(input[0] + " " + input[1] + " "
                + input[2]);
        System.out.println(sb);
    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int input[] = { sc.nextInt(), sc.nextInt(), sc.nextInt() };
        int tmp;

        for (int i = 0; i < input.length; i++) {
            for (int j = i + 1; j < input.length; j++) {
                if (input[i] > input[j]) {
                    tmp = input[i];
                    input[i] = input[j];
                    input[j] = tmp;
                }
            }
        }
        StringBuffer sb = new StringBuffer(input[0] + " " + input[1] + " "
                + input[2]);
        System.out.println(sb);
    }
}