import java.util.Arrays;
import java.util.Scanner;
public class Main {

    public static void main(String[] args) {
        Scanner a = new Scanner(System.in);
        int x = a.nextInt();
        int y = a.nextInt();
        int z = a.nextInt();

        int Arr[] = {x, y, z};
        Arrays.sort(Arr);
        for (int i = 0; i < 3; i++) {
            if (i == 2){
                System.out.println(Arr[i]);
                break;
            }else{
                System.out.print(Arr[i]);
                System.out.print(" ");
            }
        }
    }
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner a = new Scanner(System.in);
        int x = a.nextInt();
        int y = a.nextInt();
        int z = a.nextInt();

        int Arr[] = {x, y, z};
        Arrays.sort(Arr);
        for (int i = 0; i < 3; i++) {
            if (i == 2){
                System.out.println(Arr[i]);
                break;
            }else{
                System.out.print(Arr[i]);
                System.out.print(" ");
            }
        }
    }
} Main public static void main(String[] args) {
        Scanner a = new Scanner(System.in);
        int x = a.nextInt();
        int y = a.nextInt();
        int z = a.nextInt();

        int Arr[] = {x, y, z};
        Arrays.sort(Arr);
        for (int i = 0; i < 3; i++) {
            if (i == 2){
                System.out.println(Arr[i]);
                break;
            }else{
                System.out.print(Arr[i]);
                System.out.print(" ");
            }
        }
    } main {
        Scanner a = new Scanner(System.in);
        int x = a.nextInt();
        int y = a.nextInt();
        int z = a.nextInt();

        int Arr[] = {x, y, z};
        Arrays.sort(Arr);
        for (int i = 0; i < 3; i++) {
            if (i == 2){
                System.out.println(Arr[i]);
                break;
            }else{
                System.out.print(Arr[i]);
                System.out.print(" ");
            }
        }
    } Scanner a = new Scanner(System.in); a new Scanner(System.in) int x = a.nextInt(); x a.nextInt() a.nextInt a int y = a.nextInt(); y a.nextInt() a.nextInt a int z = a.nextInt(); z a.nextInt() a.nextInt a int Arr[] = {x, y, z}; Arr {x, y, z} x y z Arrays.sort(Arr) Arrays.sort Arrays Arr for (int i = 0; i < 3; i++) {
            if (i == 2){
                System.out.println(Arr[i]);
                break;
            }else{
                System.out.print(Arr[i]);
                System.out.print(" ");
            }
        } int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
            if (i == 2){
                System.out.println(Arr[i]);
                break;
            }else{
                System.out.print(Arr[i]);
                System.out.print(" ");
            }
        } {
            if (i == 2){
                System.out.println(Arr[i]);
                break;
            }else{
                System.out.print(Arr[i]);
                System.out.print(" ");
            }
        } if (i == 2){
                System.out.println(Arr[i]);
                break;
            }else{
                System.out.print(Arr[i]);
                System.out.print(" ");
            } i == 2 i 2 {
                System.out.println(Arr[i]);
                break;
            } System.out.println(Arr[i]) System.out.println System.out System System.out Arr[i] Arr i break; {
                System.out.print(Arr[i]);
                System.out.print(" ");
            } System.out.print(Arr[i]) System.out.print System.out System System.out Arr[i] Arr i System.out.print(" ") System.out.print System.out System System.out " " String[] args args public class Main {

    public static void main(String[] args) {
        Scanner a = new Scanner(System.in);
        int x = a.nextInt();
        int y = a.nextInt();
        int z = a.nextInt();

        int Arr[] = {x, y, z};
        Arrays.sort(Arr);
        for (int i = 0; i < 3; i++) {
            if (i == 2){
                System.out.println(Arr[i]);
                break;
            }else{
                System.out.print(Arr[i]);
                System.out.print(" ");
            }
        }
    }
} public class Main {

    public static void main(String[] args) {
        Scanner a = new Scanner(System.in);
        int x = a.nextInt();
        int y = a.nextInt();
        int z = a.nextInt();

        int Arr[] = {x, y, z};
        Arrays.sort(Arr);
        for (int i = 0; i < 3; i++) {
            if (i == 2){
                System.out.println(Arr[i]);
                break;
            }else{
                System.out.print(Arr[i]);
                System.out.print(" ");
            }
        }
    }
} Main
import java.util.Arrays;
import java.util.Scanner;
public class Main {

    public static void main(String[] args) {
        Scanner a = new Scanner(System.in);
        int x = a.nextInt();
        int y = a.nextInt();
        int z = a.nextInt();

        int Arr[] = {x, y, z};
        Arrays.sort(Arr);
        for (int i = 0; i < 3; i++) {
            if (i == 2){
                System.out.println(Arr[i]);
                break;
            }else{
                System.out.print(Arr[i]);
                System.out.print(" ");
            }
        }
    }
}