import java.util.*;
import java.io.*;

class Main{
    public static void main(String args[])throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int num1=0,num2=0;
        String s = br.readLine();
        String[] str = s.split(" ");
        int[] x = new int[str.length];
        for(int i=0; i<str.length; i++){
            x[i] = Integer.parseInt(str[i]);
        }
        Arrays.sort(x);
        for(int i=0; i<str.length-1; i++){
            System.out.print(x[i] +" ");
        }
        System.out.println(x[str.length-1]);
    }
} import java.util.*; util.* java import java.io.*; io.* java class Main{
    public static void main(String args[])throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int num1=0,num2=0;
        String s = br.readLine();
        String[] str = s.split(" ");
        int[] x = new int[str.length];
        for(int i=0; i<str.length; i++){
            x[i] = Integer.parseInt(str[i]);
        }
        Arrays.sort(x);
        for(int i=0; i<str.length-1; i++){
            System.out.print(x[i] +" ");
        }
        System.out.println(x[str.length-1]);
    }
} Main public static void main(String args[])throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int num1=0,num2=0;
        String s = br.readLine();
        String[] str = s.split(" ");
        int[] x = new int[str.length];
        for(int i=0; i<str.length; i++){
            x[i] = Integer.parseInt(str[i]);
        }
        Arrays.sort(x);
        for(int i=0; i<str.length-1; i++){
            System.out.print(x[i] +" ");
        }
        System.out.println(x[str.length-1]);
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int num1=0,num2=0;
        String s = br.readLine();
        String[] str = s.split(" ");
        int[] x = new int[str.length];
        for(int i=0; i<str.length; i++){
            x[i] = Integer.parseInt(str[i]);
        }
        Arrays.sort(x);
        for(int i=0; i<str.length-1; i++){
            System.out.print(x[i] +" ");
        }
        System.out.println(x[str.length-1]);
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int num1=0 num1 0 num2=0; num2 0 String s = br.readLine(); s br.readLine() br.readLine br String[] str = s.split(" "); str s.split(" ") s.split s " " int[] x = new int[str.length]; x new int[str.length] str.length str str.length for(int i=0; i<str.length; i++){
            x[i] = Integer.parseInt(str[i]);
        } int i=0; int i=0; i 0 i<str.length i str.length str str.length i++ i++ i {
            x[i] = Integer.parseInt(str[i]);
        } {
            x[i] = Integer.parseInt(str[i]);
        } x[i] = Integer.parseInt(str[i]) x[i] x i Integer.parseInt(str[i]) Integer.parseInt Integer str[i] str i Arrays.sort(x) Arrays.sort Arrays x for(int i=0; i<str.length-1; i++){
            System.out.print(x[i] +" ");
        } int i=0; int i=0; i 0 i<str.length-1 i str.length-1 str.length str str.length 1 i++ i++ i {
            System.out.print(x[i] +" ");
        } {
            System.out.print(x[i] +" ");
        } System.out.print(x[i] +" ") System.out.print System.out System System.out x[i] +" " x[i] x i " " System.out.println(x[str.length-1]) System.out.println System.out System System.out x[str.length-1] x str.length-1 str.length str str.length 1 String args[] args
import java.util.*;
import java.io.*;

class Main{
    public static void main(String args[])throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int num1=0,num2=0;
        String s = br.readLine();
        String[] str = s.split(" ");
        int[] x = new int[str.length];
        for(int i=0; i<str.length; i++){
            x[i] = Integer.parseInt(str[i]);
        }
        Arrays.sort(x);
        for(int i=0; i<str.length-1; i++){
            System.out.print(x[i] +" ");
        }
        System.out.println(x[str.length-1]);
    }
}