
import java.util.Scanner;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;

public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String a[] = br.readLine().split(" ");
        Arrays.sort(a);
        for(int i=0;i<a.length;i++){
            if(i!=a.length-1){
                System.out.print(a[i]+" ");
            }else{
                System.out.println(a[i]);
            }
        }
    }
} import java.util.Scanner; Scanner java.util import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Arrays; Arrays java.util public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String a[] = br.readLine().split(" ");
        Arrays.sort(a);
        for(int i=0;i<a.length;i++){
            if(i!=a.length-1){
                System.out.print(a[i]+" ");
            }else{
                System.out.println(a[i]);
            }
        }
    }
} Main public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String a[] = br.readLine().split(" ");
        Arrays.sort(a);
        for(int i=0;i<a.length;i++){
            if(i!=a.length-1){
                System.out.print(a[i]+" ");
            }else{
                System.out.println(a[i]);
            }
        }
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String a[] = br.readLine().split(" ");
        Arrays.sort(a);
        for(int i=0;i<a.length;i++){
            if(i!=a.length-1){
                System.out.print(a[i]+" ");
            }else{
                System.out.println(a[i]);
            }
        }
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String a[] = br.readLine().split(" "); a br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " Arrays.sort(a) Arrays.sort Arrays a for(int i=0;i<a.length;i++){
            if(i!=a.length-1){
                System.out.print(a[i]+" ");
            }else{
                System.out.println(a[i]);
            }
        } int i=0; int i=0; i 0 i<a.length i a.length a a.length i++ i++ i {
            if(i!=a.length-1){
                System.out.print(a[i]+" ");
            }else{
                System.out.println(a[i]);
            }
        } {
            if(i!=a.length-1){
                System.out.print(a[i]+" ");
            }else{
                System.out.println(a[i]);
            }
        } if(i!=a.length-1){
                System.out.print(a[i]+" ");
            }else{
                System.out.println(a[i]);
            } i!=a.length-1 i a.length-1 a.length a a.length 1 {
                System.out.print(a[i]+" ");
            } System.out.print(a[i]+" ") System.out.print System.out System System.out a[i]+" " a[i] a i " " {
                System.out.println(a[i]);
            } System.out.println(a[i]) System.out.println System.out System System.out a[i] a i String[] args args public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String a[] = br.readLine().split(" ");
        Arrays.sort(a);
        for(int i=0;i<a.length;i++){
            if(i!=a.length-1){
                System.out.print(a[i]+" ");
            }else{
                System.out.println(a[i]);
            }
        }
    }
} public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String a[] = br.readLine().split(" ");
        Arrays.sort(a);
        for(int i=0;i<a.length;i++){
            if(i!=a.length-1){
                System.out.print(a[i]+" ");
            }else{
                System.out.println(a[i]);
            }
        }
    }
} Main

import java.util.Scanner;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;

public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String a[] = br.readLine().split(" ");
        Arrays.sort(a);
        for(int i=0;i<a.length;i++){
            if(i!=a.length-1){
                System.out.print(a[i]+" ");
            }else{
                System.out.println(a[i]);
            }
        }
    }
}