import java.util.Arrays;
import java.util.Scanner;

/**
 * Created by labuser on 2016/04/18.
 */
public class Main {
    public static void main(String[] args) {
        new Main().run();
    }

    private void run() {

        int[] a = new int[3];

        Scanner sc = new Scanner(System.in);
        String[] input = sc.nextLine().split(" ");
        a[0] = Integer.parseInt(input[0]);
        a[1] = Integer.parseInt(input[1]);
        a[2] = Integer.parseInt(input[2]);

        Arrays.sort(a);
        System.out.println(a[0] + " " + a[1] + " " + a[2]);
        //System.out.printf("%d %d %d\n", a[0], a[1], a[2]);


    }
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        new Main().run();
    }

    private void run() {

        int[] a = new int[3];

        Scanner sc = new Scanner(System.in);
        String[] input = sc.nextLine().split(" ");
        a[0] = Integer.parseInt(input[0]);
        a[1] = Integer.parseInt(input[1]);
        a[2] = Integer.parseInt(input[2]);

        Arrays.sort(a);
        System.out.println(a[0] + " " + a[1] + " " + a[2]);
        //System.out.printf("%d %d %d\n", a[0], a[1], a[2]);


    }
} Main public static void main(String[] args) {
        new Main().run();
    } main {
        new Main().run();
    } new Main().run() new Main().run new Main() String[] args args private void run() {

        int[] a = new int[3];

        Scanner sc = new Scanner(System.in);
        String[] input = sc.nextLine().split(" ");
        a[0] = Integer.parseInt(input[0]);
        a[1] = Integer.parseInt(input[1]);
        a[2] = Integer.parseInt(input[2]);

        Arrays.sort(a);
        System.out.println(a[0] + " " + a[1] + " " + a[2]);
        //System.out.printf("%d %d %d\n", a[0], a[1], a[2]);


    } run {

        int[] a = new int[3];

        Scanner sc = new Scanner(System.in);
        String[] input = sc.nextLine().split(" ");
        a[0] = Integer.parseInt(input[0]);
        a[1] = Integer.parseInt(input[1]);
        a[2] = Integer.parseInt(input[2]);

        Arrays.sort(a);
        System.out.println(a[0] + " " + a[1] + " " + a[2]);
        //System.out.printf("%d %d %d\n", a[0], a[1], a[2]);


    } int[] a = new int[3]; a new int[3] 3 Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String[] input = sc.nextLine().split(" "); input sc.nextLine().split(" ") sc.nextLine().split sc.nextLine() sc.nextLine sc " " a[0] = Integer.parseInt(input[0]) a[0] a 0 Integer.parseInt(input[0]) Integer.parseInt Integer input[0] input 0 a[1] = Integer.parseInt(input[1]) a[1] a 1 Integer.parseInt(input[1]) Integer.parseInt Integer input[1] input 1 a[2] = Integer.parseInt(input[2]) a[2] a 2 Integer.parseInt(input[2]) Integer.parseInt Integer input[2] input 2 Arrays.sort(a) Arrays.sort Arrays a System.out.println(a[0] + " " + a[1] + " " + a[2]) System.out.println System.out System System.out a[0] + " " + a[1] + " " + a[2] " " a[1] a[0] + " " + a[1] + " " + a[2] a[0] a 0 " " a[1] a 1 " " a[2] a 2 public class Main {
    public static void main(String[] args) {
        new Main().run();
    }

    private void run() {

        int[] a = new int[3];

        Scanner sc = new Scanner(System.in);
        String[] input = sc.nextLine().split(" ");
        a[0] = Integer.parseInt(input[0]);
        a[1] = Integer.parseInt(input[1]);
        a[2] = Integer.parseInt(input[2]);

        Arrays.sort(a);
        System.out.println(a[0] + " " + a[1] + " " + a[2]);
        //System.out.printf("%d %d %d\n", a[0], a[1], a[2]);


    }
} public class Main {
    public static void main(String[] args) {
        new Main().run();
    }

    private void run() {

        int[] a = new int[3];

        Scanner sc = new Scanner(System.in);
        String[] input = sc.nextLine().split(" ");
        a[0] = Integer.parseInt(input[0]);
        a[1] = Integer.parseInt(input[1]);
        a[2] = Integer.parseInt(input[2]);

        Arrays.sort(a);
        System.out.println(a[0] + " " + a[1] + " " + a[2]);
        //System.out.printf("%d %d %d\n", a[0], a[1], a[2]);


    }
} Main
import java.util.Arrays;
import java.util.Scanner;

/**
 * Created by labuser on 2016/04/18.
 */
public class Main {
    public static void main(String[] args) {
        new Main().run();
    }

    private void run() {

        int[] a = new int[3];

        Scanner sc = new Scanner(System.in);
        String[] input = sc.nextLine().split(" ");
        a[0] = Integer.parseInt(input[0]);
        a[1] = Integer.parseInt(input[1]);
        a[2] = Integer.parseInt(input[2]);

        Arrays.sort(a);
        System.out.println(a[0] + " " + a[1] + " " + a[2]);
        //System.out.printf("%d %d %d\n", a[0], a[1], a[2]);


    }
}