
import java.util.Scanner;

class Main {

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();
        int d;
        if (a > b) {
            // a(=X) と b(=Y)　を交換
            d = a;
            a = b;
            b = d;
        }
        if (b > c) {
            // b と c　を交換
            d = b;
            b = c;
            c = d;
        }
        if (a > b) {
            // a と b　を交換
            d = a;
            a = b;
            b = d;
        }
        System.out.println(a + " " + b + " " + c);
    }
}
 import java.util.Scanner; Scanner java.util class Main {

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();
        int d;
        if (a > b) {
            // a(=X) と b(=Y)　を交換
            d = a;
            a = b;
            b = d;
        }
        if (b > c) {
            // b と c　を交換
            d = b;
            b = c;
            c = d;
        }
        if (a > b) {
            // a と b　を交換
            d = a;
            a = b;
            b = d;
        }
        System.out.println(a + " " + b + " " + c);
    }
} Main public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();
        int d;
        if (a > b) {
            // a(=X) と b(=Y)　を交換
            d = a;
            a = b;
            b = d;
        }
        if (b > c) {
            // b と c　を交換
            d = b;
            b = c;
            c = d;
        }
        if (a > b) {
            // a と b　を交換
            d = a;
            a = b;
            b = d;
        }
        System.out.println(a + " " + b + " " + c);
    } main {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();
        int d;
        if (a > b) {
            // a(=X) と b(=Y)　を交換
            d = a;
            a = b;
            b = d;
        }
        if (b > c) {
            // b と c　を交換
            d = b;
            b = c;
            c = d;
        }
        if (a > b) {
            // a と b　を交換
            d = a;
            a = b;
            b = d;
        }
        System.out.println(a + " " + b + " " + c);
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan int c = scan.nextInt(); c scan.nextInt() scan.nextInt scan int d; d if (a > b) {
            // a(=X) と b(=Y)　を交換
            d = a;
            a = b;
            b = d;
        } a > b a b {
            // a(=X) と b(=Y)　を交換
            d = a;
            a = b;
            b = d;
        } d = a d a a = b a b b = d b d if (b > c) {
            // b と c　を交換
            d = b;
            b = c;
            c = d;
        } b > c b c {
            // b と c　を交換
            d = b;
            b = c;
            c = d;
        } d = b d b b = c b c c = d c d if (a > b) {
            // a と b　を交換
            d = a;
            a = b;
            b = d;
        } a > b a b {
            // a と b　を交換
            d = a;
            a = b;
            b = d;
        } d = a d a a = b a b b = d b d 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

import java.util.Scanner;

class Main {

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();
        int d;
        if (a > b) {
            // a(=X) と b(=Y)　を交換
            d = a;
            a = b;
            b = d;
        }
        if (b > c) {
            // b と c　を交換
            d = b;
            b = c;
            c = d;
        }
        if (a > b) {
            // a と b　を交換
            d = a;
            a = b;
            b = d;
        }
        System.out.println(a + " " + b + " " + c);
    }
}

