import java.util.Scanner;

class Main {
    private static final Scanner sc = new Scanner(System.in);
    public static void main(String[] args) {
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());
        int t;
        if(a>b) {
            t = a;
            a = b;
            b = t;
        }
        if(b>c) {
            t = b;
            b = c;
            c = t;
        }
        if(a>b) {
            t = a;
            a = b;
            b = t;
        }
        System.out.println(a+" "+b+" "+c);
    }
} import java.util.Scanner; Scanner java.util class Main {
    private static final Scanner sc = new Scanner(System.in);
    public static void main(String[] args) {
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());
        int t;
        if(a>b) {
            t = a;
            a = b;
            b = t;
        }
        if(b>c) {
            t = b;
            b = c;
            c = t;
        }
        if(a>b) {
            t = a;
            a = b;
            b = t;
        }
        System.out.println(a+" "+b+" "+c);
    }
} Main private static final Scanner sc = new Scanner(System.in); sc new Scanner(System.in) public static void main(String[] args) {
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());
        int t;
        if(a>b) {
            t = a;
            a = b;
            b = t;
        }
        if(b>c) {
            t = b;
            b = c;
            c = t;
        }
        if(a>b) {
            t = a;
            a = b;
            b = t;
        }
        System.out.println(a+" "+b+" "+c);
    } main {
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());
        int t;
        if(a>b) {
            t = a;
            a = b;
            b = t;
        }
        if(b>c) {
            t = b;
            b = c;
            c = t;
        }
        if(a>b) {
            t = a;
            a = b;
            b = t;
        }
        System.out.println(a+" "+b+" "+c);
    } int a = Integer.parseInt(sc.next()); a Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int b = Integer.parseInt(sc.next()); b Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int c = Integer.parseInt(sc.next()); c Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int t; t if(a>b) {
            t = a;
            a = b;
            b = t;
        } a>b a b {
            t = a;
            a = b;
            b = t;
        } t = a t a a = b a b b = t b t if(b>c) {
            t = b;
            b = c;
            c = t;
        } b>c b c {
            t = b;
            b = c;
            c = t;
        } t = b t b b = c b c c = t c t if(a>b) {
            t = a;
            a = b;
            b = t;
        } a>b a b {
            t = a;
            a = b;
            b = t;
        } t = a t a a = b a b b = t b t 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 {
    private static final Scanner sc = new Scanner(System.in);
    public static void main(String[] args) {
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());
        int t;
        if(a>b) {
            t = a;
            a = b;
            b = t;
        }
        if(b>c) {
            t = b;
            b = c;
            c = t;
        }
        if(a>b) {
            t = a;
            a = b;
            b = t;
        }
        System.out.println(a+" "+b+" "+c);
    }
}