import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main{
    public static void main(String[] args) throws IOException {
        InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        String line;
        // ????????\???
        while((line=br.readLine()) != null) {
            // ??\???????????????????§???????????????§????????????
            String[] input = line.split(" ");
            int[] in = new int[input.length];
            
            // ??????????????°????????????
            for(int i = 0; i < input.length; i++) {
                in[i] = Integer.parseInt(input[i]);
            }
            
            // ?????????????????????????????????
            for(int i = 0; i < in.length-1; i++) {
                for(int j = in.length - 1; j > i; j--) {
                    if(in[j] < in[j-1]) {
                        int temp = in[j];
                        in[j] = in[j-1];
                        in[j-1] = temp;
                    }
                }
            }
            String out = "";
            for(int k = 0; k < in.length; k++) {
                out += in[k] + " ";
            }
            System.out.println(out.substring(0, out.length()-1));
        }
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io class Main{
    public static void main(String[] args) throws IOException {
        InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        String line;
        // ????????\???
        while((line=br.readLine()) != null) {
            // ??\???????????????????§???????????????§????????????
            String[] input = line.split(" ");
            int[] in = new int[input.length];
            
            // ??????????????°????????????
            for(int i = 0; i < input.length; i++) {
                in[i] = Integer.parseInt(input[i]);
            }
            
            // ?????????????????????????????????
            for(int i = 0; i < in.length-1; i++) {
                for(int j = in.length - 1; j > i; j--) {
                    if(in[j] < in[j-1]) {
                        int temp = in[j];
                        in[j] = in[j-1];
                        in[j-1] = temp;
                    }
                }
            }
            String out = "";
            for(int k = 0; k < in.length; k++) {
                out += in[k] + " ";
            }
            System.out.println(out.substring(0, out.length()-1));
        }
    }
} Main public static void main(String[] args) throws IOException {
        InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        String line;
        // ????????\???
        while((line=br.readLine()) != null) {
            // ??\???????????????????§???????????????§????????????
            String[] input = line.split(" ");
            int[] in = new int[input.length];
            
            // ??????????????°????????????
            for(int i = 0; i < input.length; i++) {
                in[i] = Integer.parseInt(input[i]);
            }
            
            // ?????????????????????????????????
            for(int i = 0; i < in.length-1; i++) {
                for(int j = in.length - 1; j > i; j--) {
                    if(in[j] < in[j-1]) {
                        int temp = in[j];
                        in[j] = in[j-1];
                        in[j-1] = temp;
                    }
                }
            }
            String out = "";
            for(int k = 0; k < in.length; k++) {
                out += in[k] + " ";
            }
            System.out.println(out.substring(0, out.length()-1));
        }
    } main {
        InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        String line;
        // ????????\???
        while((line=br.readLine()) != null) {
            // ??\???????????????????§???????????????§????????????
            String[] input = line.split(" ");
            int[] in = new int[input.length];
            
            // ??????????????°????????????
            for(int i = 0; i < input.length; i++) {
                in[i] = Integer.parseInt(input[i]);
            }
            
            // ?????????????????????????????????
            for(int i = 0; i < in.length-1; i++) {
                for(int j = in.length - 1; j > i; j--) {
                    if(in[j] < in[j-1]) {
                        int temp = in[j];
                        in[j] = in[j-1];
                        in[j-1] = temp;
                    }
                }
            }
            String out = "";
            for(int k = 0; k < in.length; k++) {
                out += in[k] + " ";
            }
            System.out.println(out.substring(0, out.length()-1));
        }
    } InputStreamReader isr = new InputStreamReader(System.in); isr new InputStreamReader(System.in) BufferedReader br = new BufferedReader(isr); br new BufferedReader(isr) String line; line while((line=br.readLine()) != null) {
            // ??\???????????????????§???????????????§????????????
            String[] input = line.split(" ");
            int[] in = new int[input.length];
            
            // ??????????????°????????????
            for(int i = 0; i < input.length; i++) {
                in[i] = Integer.parseInt(input[i]);
            }
            
            // ?????????????????????????????????
            for(int i = 0; i < in.length-1; i++) {
                for(int j = in.length - 1; j > i; j--) {
                    if(in[j] < in[j-1]) {
                        int temp = in[j];
                        in[j] = in[j-1];
                        in[j-1] = temp;
                    }
                }
            }
            String out = "";
            for(int k = 0; k < in.length; k++) {
                out += in[k] + " ";
            }
            System.out.println(out.substring(0, out.length()-1));
        } (line=br.readLine()) != null (line=br.readLine()) line br.readLine() br.readLine br null {
            // ??\???????????????????§???????????????§????????????
            String[] input = line.split(" ");
            int[] in = new int[input.length];
            
            // ??????????????°????????????
            for(int i = 0; i < input.length; i++) {
                in[i] = Integer.parseInt(input[i]);
            }
            
            // ?????????????????????????????????
            for(int i = 0; i < in.length-1; i++) {
                for(int j = in.length - 1; j > i; j--) {
                    if(in[j] < in[j-1]) {
                        int temp = in[j];
                        in[j] = in[j-1];
                        in[j-1] = temp;
                    }
                }
            }
            String out = "";
            for(int k = 0; k < in.length; k++) {
                out += in[k] + " ";
            }
            System.out.println(out.substring(0, out.length()-1));
        } String[] input = line.split(" "); input line.split(" ") line.split line " " int[] in = new int[input.length]; in new int[input.length] input.length input input.length for(int i = 0; i < input.length; i++) {
                in[i] = Integer.parseInt(input[i]);
            } int i = 0; int i = 0; i 0 i < input.length i input.length input input.length i++ i++ i {
                in[i] = Integer.parseInt(input[i]);
            } {
                in[i] = Integer.parseInt(input[i]);
            } in[i] = Integer.parseInt(input[i]) in[i] in i Integer.parseInt(input[i]) Integer.parseInt Integer input[i] input i for(int i = 0; i < in.length-1; i++) {
                for(int j = in.length - 1; j > i; j--) {
                    if(in[j] < in[j-1]) {
                        int temp = in[j];
                        in[j] = in[j-1];
                        in[j-1] = temp;
                    }
                }
            } int i = 0; int i = 0; i 0 i < in.length-1 i in.length-1 in.length in in.length 1 i++ i++ i {
                for(int j = in.length - 1; j > i; j--) {
                    if(in[j] < in[j-1]) {
                        int temp = in[j];
                        in[j] = in[j-1];
                        in[j-1] = temp;
                    }
                }
            } {
                for(int j = in.length - 1; j > i; j--) {
                    if(in[j] < in[j-1]) {
                        int temp = in[j];
                        in[j] = in[j-1];
                        in[j-1] = temp;
                    }
                }
            } for(int j = in.length - 1; j > i; j--) {
                    if(in[j] < in[j-1]) {
                        int temp = in[j];
                        in[j] = in[j-1];
                        in[j-1] = temp;
                    }
                } int j = in.length - 1; int j = in.length - 1; j in.length - 1 in.length in in.length 1 j > i j i j-- j-- j {
                    if(in[j] < in[j-1]) {
                        int temp = in[j];
                        in[j] = in[j-1];
                        in[j-1] = temp;
                    }
                } {
                    if(in[j] < in[j-1]) {
                        int temp = in[j];
                        in[j] = in[j-1];
                        in[j-1] = temp;
                    }
                } if(in[j] < in[j-1]) {
                        int temp = in[j];
                        in[j] = in[j-1];
                        in[j-1] = temp;
                    } in[j] < in[j-1] in[j] in j in[j-1] in j-1 j 1 {
                        int temp = in[j];
                        in[j] = in[j-1];
                        in[j-1] = temp;
                    } int temp = in[j]; temp in[j] in j in[j] = in[j-1] in[j] in j in[j-1] in j-1 j 1 in[j-1] = temp in[j-1] in j-1 j 1 temp String out = ""; out "" for(int k = 0; k < in.length; k++) {
                out += in[k] + " ";
            } int k = 0; int k = 0; k 0 k < in.length k in.length in in.length k++ k++ k {
                out += in[k] + " ";
            } {
                out += in[k] + " ";
            } out += in[k] + " " out in[k] + " " in[k] in k " " System.out.println(out.substring(0, out.length()-1)) System.out.println System.out System System.out out.substring(0, out.length()-1) out.substring out 0 out.length()-1 out.length() out.length out 1 String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main{
    public static void main(String[] args) throws IOException {
        InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        String line;
        // ????????\???
        while((line=br.readLine()) != null) {
            // ??\???????????????????§???????????????§????????????
            String[] input = line.split(" ");
            int[] in = new int[input.length];
            
            // ??????????????°????????????
            for(int i = 0; i < input.length; i++) {
                in[i] = Integer.parseInt(input[i]);
            }
            
            // ?????????????????????????????????
            for(int i = 0; i < in.length-1; i++) {
                for(int j = in.length - 1; j > i; j--) {
                    if(in[j] < in[j-1]) {
                        int temp = in[j];
                        in[j] = in[j-1];
                        in[j-1] = temp;
                    }
                }
            }
            String out = "";
            for(int k = 0; k < in.length; k++) {
                out += in[k] + " ";
            }
            System.out.println(out.substring(0, out.length()-1));
        }
    }
}