import java.util.*;

public class Main {

    public static void main(String[] args) throws Exception {
        Scanner stdId = new Scanner(System.in);
        int a = stdId.nextInt();
        int b = stdId.nextInt();
        int c = stdId.nextInt();
        int tmp = 0;

        String j = "No";

        if (a > b) {
            tmp = a;
            a = b;
            b = tmp;
        }
        if (a > c) {
            tmp = a;
            a = c;
            c = tmp;
        }
        if (b > c) {
            tmp = b;
            b = c;
            c = tmp;
        }

        System.out.println(a + " " + b + " " + c);

    }
} import java.util.*; util.* java public class Main {

    public static void main(String[] args) throws Exception {
        Scanner stdId = new Scanner(System.in);
        int a = stdId.nextInt();
        int b = stdId.nextInt();
        int c = stdId.nextInt();
        int tmp = 0;

        String j = "No";

        if (a > b) {
            tmp = a;
            a = b;
            b = tmp;
        }
        if (a > c) {
            tmp = a;
            a = c;
            c = tmp;
        }
        if (b > c) {
            tmp = b;
            b = c;
            c = tmp;
        }

        System.out.println(a + " " + b + " " + c);

    }
} Main public static void main(String[] args) throws Exception {
        Scanner stdId = new Scanner(System.in);
        int a = stdId.nextInt();
        int b = stdId.nextInt();
        int c = stdId.nextInt();
        int tmp = 0;

        String j = "No";

        if (a > b) {
            tmp = a;
            a = b;
            b = tmp;
        }
        if (a > c) {
            tmp = a;
            a = c;
            c = tmp;
        }
        if (b > c) {
            tmp = b;
            b = c;
            c = tmp;
        }

        System.out.println(a + " " + b + " " + c);

    } main {
        Scanner stdId = new Scanner(System.in);
        int a = stdId.nextInt();
        int b = stdId.nextInt();
        int c = stdId.nextInt();
        int tmp = 0;

        String j = "No";

        if (a > b) {
            tmp = a;
            a = b;
            b = tmp;
        }
        if (a > c) {
            tmp = a;
            a = c;
            c = tmp;
        }
        if (b > c) {
            tmp = b;
            b = c;
            c = tmp;
        }

        System.out.println(a + " " + b + " " + c);

    } Scanner stdId = new Scanner(System.in); stdId new Scanner(System.in) int a = stdId.nextInt(); a stdId.nextInt() stdId.nextInt stdId int b = stdId.nextInt(); b stdId.nextInt() stdId.nextInt stdId int c = stdId.nextInt(); c stdId.nextInt() stdId.nextInt stdId int tmp = 0; tmp 0 String j = "No"; j "No" if (a > b) {
            tmp = a;
            a = b;
            b = tmp;
        } a > b a b {
            tmp = a;
            a = b;
            b = tmp;
        } tmp = a tmp a a = b a b b = tmp b tmp if (a > c) {
            tmp = a;
            a = c;
            c = tmp;
        } a > c a c {
            tmp = a;
            a = c;
            c = tmp;
        } tmp = a tmp a a = c a c c = tmp c tmp if (b > c) {
            tmp = b;
            b = c;
            c = tmp;
        } b > c b c {
            tmp = b;
            b = c;
            c = tmp;
        } tmp = b tmp b b = c b c c = tmp c tmp 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) throws Exception {
        Scanner stdId = new Scanner(System.in);
        int a = stdId.nextInt();
        int b = stdId.nextInt();
        int c = stdId.nextInt();
        int tmp = 0;

        String j = "No";

        if (a > b) {
            tmp = a;
            a = b;
            b = tmp;
        }
        if (a > c) {
            tmp = a;
            a = c;
            c = tmp;
        }
        if (b > c) {
            tmp = b;
            b = c;
            c = tmp;
        }

        System.out.println(a + " " + b + " " + c);

    }
} public class Main {

    public static void main(String[] args) throws Exception {
        Scanner stdId = new Scanner(System.in);
        int a = stdId.nextInt();
        int b = stdId.nextInt();
        int c = stdId.nextInt();
        int tmp = 0;

        String j = "No";

        if (a > b) {
            tmp = a;
            a = b;
            b = tmp;
        }
        if (a > c) {
            tmp = a;
            a = c;
            c = tmp;
        }
        if (b > c) {
            tmp = b;
            b = c;
            c = tmp;
        }

        System.out.println(a + " " + b + " " + c);

    }
} Main
import java.util.*;

public class Main {

    public static void main(String[] args) throws Exception {
        Scanner stdId = new Scanner(System.in);
        int a = stdId.nextInt();
        int b = stdId.nextInt();
        int c = stdId.nextInt();
        int tmp = 0;

        String j = "No";

        if (a > b) {
            tmp = a;
            a = b;
            b = tmp;
        }
        if (a > c) {
            tmp = a;
            a = c;
            c = tmp;
        }
        if (b > c) {
            tmp = b;
            b = c;
            c = tmp;
        }

        System.out.println(a + " " + b + " " + c);

    }
}