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

/**
 *
 * @author lenovo
 */
public class Main {

    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();

        int[] array = {a, b, c};
        Arrays.sort(array);
        String s=""+array[0]+" "+array[1]+" "+array[2];

        for (int i = 0; i < array.length; i++) {
       
        }
        System.out.println(s);
    }
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();

        int[] array = {a, b, c};
        Arrays.sort(array);
        String s=""+array[0]+" "+array[1]+" "+array[2];

        for (int i = 0; i < array.length; i++) {
       
        }
        System.out.println(s);
    }
} Main public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();

        int[] array = {a, b, c};
        Arrays.sort(array);
        String s=""+array[0]+" "+array[1]+" "+array[2];

        for (int i = 0; i < array.length; i++) {
       
        }
        System.out.println(s);
    } main {

        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();

        int[] array = {a, b, c};
        Arrays.sort(array);
        String s=""+array[0]+" "+array[1]+" "+array[2];

        for (int i = 0; i < array.length; i++) {
       
        }
        System.out.println(s);
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int a = scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner int b = scanner.nextInt(); b scanner.nextInt() scanner.nextInt scanner int c = scanner.nextInt(); c scanner.nextInt() scanner.nextInt scanner int[] array = {a, b, c}; array {a, b, c} a b c Arrays.sort(array) Arrays.sort Arrays array String s=""+array[0]+" "+array[1]+" "+array[2]; s ""+array[0]+" "+array[1]+" "+array[2] " " array[1] " " ""+array[0]+" "+array[1]+" "+array[2] "" array[0] array 0 " " array[1] array 1 " " array[2] array 2 for (int i = 0; i < array.length; i++) {
       
        } int i = 0; int i = 0; i 0 i < array.length i array.length array array.length i++ i++ i {
       
        } {
       
        } System.out.println(s) System.out.println System.out System System.out s String[] args args public class Main {

    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();

        int[] array = {a, b, c};
        Arrays.sort(array);
        String s=""+array[0]+" "+array[1]+" "+array[2];

        for (int i = 0; i < array.length; i++) {
       
        }
        System.out.println(s);
    }
} public class Main {

    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();

        int[] array = {a, b, c};
        Arrays.sort(array);
        String s=""+array[0]+" "+array[1]+" "+array[2];

        for (int i = 0; i < array.length; i++) {
       
        }
        System.out.println(s);
    }
} Main
import java.util.Arrays;
import java.util.Scanner;

/**
 *
 * @author lenovo
 */
public class Main {

    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();

        int[] array = {a, b, c};
        Arrays.sort(array);
        String s=""+array[0]+" "+array[1]+" "+array[2];

        for (int i = 0; i < array.length; i++) {
       
        }
        System.out.println(s);
    }
}