
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        int x;
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        if (b > c) {
            // b と c　を入れ替える
            x = b;
            b = c;
            c = x;
        }
        if (a > b) {
            //a と b　を入れ替える
            x = a;
            a = b;
            b = x;
        }
        if (b > c) {
            // b と c　を入れ替える
            x = b;
            b = c;
            c = x;
        }
        System.out.println(a+" "+b+" "+c);
    }
}
 import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        int x;
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        if (b > c) {
            // b と c　を入れ替える
            x = b;
            b = c;
            c = x;
        }
        if (a > b) {
            //a と b　を入れ替える
            x = a;
            a = b;
            b = x;
        }
        if (b > c) {
            // b と c　を入れ替える
            x = b;
            b = c;
            c = x;
        }
        System.out.println(a+" "+b+" "+c);
    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        int x;
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        if (b > c) {
            // b と c　を入れ替える
            x = b;
            b = c;
            c = x;
        }
        if (a > b) {
            //a と b　を入れ替える
            x = a;
            a = b;
            b = x;
        }
        if (b > c) {
            // b と c　を入れ替える
            x = b;
            b = c;
            c = x;
        }
        System.out.println(a+" "+b+" "+c);
    } main {
        Scanner scanner = new Scanner(System.in);

        int x;
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        if (b > c) {
            // b と c　を入れ替える
            x = b;
            b = c;
            c = x;
        }
        if (a > b) {
            //a と b　を入れ替える
            x = a;
            a = b;
            b = x;
        }
        if (b > c) {
            // b と c　を入れ替える
            x = b;
            b = c;
            c = x;
        }
        System.out.println(a+" "+b+" "+c);
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int x; x int a = scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner int b = scanner.nextInt(); b scanner.nextInt() scanner.nextInt scanner int c = scanner.nextInt(); c scanner.nextInt() scanner.nextInt scanner if (b > c) {
            // b と c　を入れ替える
            x = b;
            b = c;
            c = x;
        } b > c b c {
            // b と c　を入れ替える
            x = b;
            b = c;
            c = x;
        } x = b x b b = c b c c = x c x if (a > b) {
            //a と b　を入れ替える
            x = a;
            a = b;
            b = x;
        } a > b a b {
            //a と b　を入れ替える
            x = a;
            a = b;
            b = x;
        } x = a x a a = b a b b = x b x if (b > c) {
            // b と c　を入れ替える
            x = b;
            b = c;
            c = x;
        } b > c b c {
            // b と c　を入れ替える
            x = b;
            b = c;
            c = x;
        } x = b x b b = c b c c = x c x System.out.println(a+" "+b+" "+c) System.out.println System.out System System.out a+" "+b+" "+c " " b a+" "+b+" "+c a " " b " " c String[] args args public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        int x;
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        if (b > c) {
            // b と c　を入れ替える
            x = b;
            b = c;
            c = x;
        }
        if (a > b) {
            //a と b　を入れ替える
            x = a;
            a = b;
            b = x;
        }
        if (b > c) {
            // b と c　を入れ替える
            x = b;
            b = c;
            c = x;
        }
        System.out.println(a+" "+b+" "+c);
    }
} public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        int x;
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        if (b > c) {
            // b と c　を入れ替える
            x = b;
            b = c;
            c = x;
        }
        if (a > b) {
            //a と b　を入れ替える
            x = a;
            a = b;
            b = x;
        }
        if (b > c) {
            // b と c　を入れ替える
            x = b;
            b = c;
            c = x;
        }
        System.out.println(a+" "+b+" "+c);
    }
} Main

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        int x;
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        if (b > c) {
            // b と c　を入れ替える
            x = b;
            b = c;
            c = x;
        }
        if (a > b) {
            //a と b　を入れ替える
            x = a;
            a = b;
            b = x;
        }
        if (b > c) {
            // b と c　を入れ替える
            x = b;
            b = c;
            c = x;
        }
        System.out.println(a+" "+b+" "+c);
    }
}

