import java.util.Scanner;
 
class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int i, j;
        int work;
        int[] x = new int[3];
         
        for (i = 0; i < x.length; i++) {
            x[i] = scanner.nextInt();
        }
         
        for (i = 0; i < x.length; i++) {
            for (j = 0; j < x.length-1 - i; j++) {
                if (x[j] > x[j+1]) {
                    work = x[j];
                    x[j] = x[j+1];
                    x[j+1] = work;
                }
            }
        }
         
        for (i = 0; i < x.length; i++) {
            if (i != 0)
                System.out.print(" ");
            System.out.print(x[i]);
        }
        System.out.print("\n");
        scanner.close();
    }
} import java.util.Scanner; Scanner java.util class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int i, j;
        int work;
        int[] x = new int[3];
         
        for (i = 0; i < x.length; i++) {
            x[i] = scanner.nextInt();
        }
         
        for (i = 0; i < x.length; i++) {
            for (j = 0; j < x.length-1 - i; j++) {
                if (x[j] > x[j+1]) {
                    work = x[j];
                    x[j] = x[j+1];
                    x[j+1] = work;
                }
            }
        }
         
        for (i = 0; i < x.length; i++) {
            if (i != 0)
                System.out.print(" ");
            System.out.print(x[i]);
        }
        System.out.print("\n");
        scanner.close();
    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int i, j;
        int work;
        int[] x = new int[3];
         
        for (i = 0; i < x.length; i++) {
            x[i] = scanner.nextInt();
        }
         
        for (i = 0; i < x.length; i++) {
            for (j = 0; j < x.length-1 - i; j++) {
                if (x[j] > x[j+1]) {
                    work = x[j];
                    x[j] = x[j+1];
                    x[j+1] = work;
                }
            }
        }
         
        for (i = 0; i < x.length; i++) {
            if (i != 0)
                System.out.print(" ");
            System.out.print(x[i]);
        }
        System.out.print("\n");
        scanner.close();
    } main {
        Scanner scanner = new Scanner(System.in);
        int i, j;
        int work;
        int[] x = new int[3];
         
        for (i = 0; i < x.length; i++) {
            x[i] = scanner.nextInt();
        }
         
        for (i = 0; i < x.length; i++) {
            for (j = 0; j < x.length-1 - i; j++) {
                if (x[j] > x[j+1]) {
                    work = x[j];
                    x[j] = x[j+1];
                    x[j+1] = work;
                }
            }
        }
         
        for (i = 0; i < x.length; i++) {
            if (i != 0)
                System.out.print(" ");
            System.out.print(x[i]);
        }
        System.out.print("\n");
        scanner.close();
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int i i j; j int work; work int[] x = new int[3]; x new int[3] 3 for (i = 0; i < x.length; i++) {
            x[i] = scanner.nextInt();
        } i = 0; i = 0 i 0 i < x.length i x.length x x.length i++ i++ i {
            x[i] = scanner.nextInt();
        } {
            x[i] = scanner.nextInt();
        } x[i] = scanner.nextInt() x[i] x i scanner.nextInt() scanner.nextInt scanner for (i = 0; i < x.length; i++) {
            for (j = 0; j < x.length-1 - i; j++) {
                if (x[j] > x[j+1]) {
                    work = x[j];
                    x[j] = x[j+1];
                    x[j+1] = work;
                }
            }
        } i = 0; i = 0 i 0 i < x.length i x.length x x.length i++ i++ i {
            for (j = 0; j < x.length-1 - i; j++) {
                if (x[j] > x[j+1]) {
                    work = x[j];
                    x[j] = x[j+1];
                    x[j+1] = work;
                }
            }
        } {
            for (j = 0; j < x.length-1 - i; j++) {
                if (x[j] > x[j+1]) {
                    work = x[j];
                    x[j] = x[j+1];
                    x[j+1] = work;
                }
            }
        } for (j = 0; j < x.length-1 - i; j++) {
                if (x[j] > x[j+1]) {
                    work = x[j];
                    x[j] = x[j+1];
                    x[j+1] = work;
                }
            } j = 0; j = 0 j 0 j < x.length-1 - i j x.length-1 - i x.length-1 - i x.length x x.length 1 i j++ j++ j {
                if (x[j] > x[j+1]) {
                    work = x[j];
                    x[j] = x[j+1];
                    x[j+1] = work;
                }
            } {
                if (x[j] > x[j+1]) {
                    work = x[j];
                    x[j] = x[j+1];
                    x[j+1] = work;
                }
            } if (x[j] > x[j+1]) {
                    work = x[j];
                    x[j] = x[j+1];
                    x[j+1] = work;
                } x[j] > x[j+1] x[j] x j x[j+1] x j+1 j 1 {
                    work = x[j];
                    x[j] = x[j+1];
                    x[j+1] = work;
                } work = x[j] work x[j] x j x[j] = x[j+1] x[j] x j x[j+1] x j+1 j 1 x[j+1] = work x[j+1] x j+1 j 1 work for (i = 0; i < x.length; i++) {
            if (i != 0)
                System.out.print(" ");
            System.out.print(x[i]);
        } i = 0; i = 0 i 0 i < x.length i x.length x x.length i++ i++ i {
            if (i != 0)
                System.out.print(" ");
            System.out.print(x[i]);
        } {
            if (i != 0)
                System.out.print(" ");
            System.out.print(x[i]);
        } if (i != 0)
                System.out.print(" "); i != 0 i 0 System.out.print(" ") System.out.print System.out System System.out " " System.out.print(x[i]) System.out.print System.out System System.out x[i] x i System.out.print("\n") System.out.print System.out System System.out "\n" scanner.close() scanner.close scanner String[] args args
import java.util.Scanner;
 
class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int i, j;
        int work;
        int[] x = new int[3];
         
        for (i = 0; i < x.length; i++) {
            x[i] = scanner.nextInt();
        }
         
        for (i = 0; i < x.length; i++) {
            for (j = 0; j < x.length-1 - i; j++) {
                if (x[j] > x[j+1]) {
                    work = x[j];
                    x[j] = x[j+1];
                    x[j+1] = work;
                }
            }
        }
         
        for (i = 0; i < x.length; i++) {
            if (i != 0)
                System.out.print(" ");
            System.out.print(x[i]);
        }
        System.out.print("\n");
        scanner.close();
    }
}
