import java.util.Arrays;

public class Main {

    public static void main(String[] args) {
        final String line = readLine();
        System.out.println(calc(line));
    }

    protected static String calc(String input) {
        final int[] intArray = split(input);

        Arrays.sort(intArray);

        StringBuffer sb = new StringBuffer();

        for (int i : intArray) {
            if (sb.length() > 0) {
                sb.append(' ');
            }
            sb.append(i);
        }

        return sb.toString();
    }

    private static int[] split(String s) {
        final String[] s0 = s.split(" ");
        int[] ints = new int[s0.length];

        for (int i = 0; i < s0.length; i++) {
            ints[i] = Integer.parseInt(s0[i]);
        }

        return ints;
    }

    private static String readLine() {
        java.util.Scanner s = null;
        try {
            s = new java.util.Scanner(System.in);
            return s.nextLine();
        } finally {
            if (s != null) {
                s.close();
            }
        }
    }
} import java.util.Arrays; Arrays java.util public class Main {

    public static void main(String[] args) {
        final String line = readLine();
        System.out.println(calc(line));
    }

    protected static String calc(String input) {
        final int[] intArray = split(input);

        Arrays.sort(intArray);

        StringBuffer sb = new StringBuffer();

        for (int i : intArray) {
            if (sb.length() > 0) {
                sb.append(' ');
            }
            sb.append(i);
        }

        return sb.toString();
    }

    private static int[] split(String s) {
        final String[] s0 = s.split(" ");
        int[] ints = new int[s0.length];

        for (int i = 0; i < s0.length; i++) {
            ints[i] = Integer.parseInt(s0[i]);
        }

        return ints;
    }

    private static String readLine() {
        java.util.Scanner s = null;
        try {
            s = new java.util.Scanner(System.in);
            return s.nextLine();
        } finally {
            if (s != null) {
                s.close();
            }
        }
    }
} Main public static void main(String[] args) {
        final String line = readLine();
        System.out.println(calc(line));
    } main {
        final String line = readLine();
        System.out.println(calc(line));
    } final String line = readLine(); line readLine() readLine System.out.println(calc(line)) System.out.println System.out System System.out calc(line) calc line String[] args args protected static String calc(String input) {
        final int[] intArray = split(input);

        Arrays.sort(intArray);

        StringBuffer sb = new StringBuffer();

        for (int i : intArray) {
            if (sb.length() > 0) {
                sb.append(' ');
            }
            sb.append(i);
        }

        return sb.toString();
    } calc {
        final int[] intArray = split(input);

        Arrays.sort(intArray);

        StringBuffer sb = new StringBuffer();

        for (int i : intArray) {
            if (sb.length() > 0) {
                sb.append(' ');
            }
            sb.append(i);
        }

        return sb.toString();
    } final int[] intArray = split(input); intArray split(input) split input Arrays.sort(intArray) Arrays.sort Arrays intArray StringBuffer sb = new StringBuffer(); sb new StringBuffer() for (int i : intArray) {
            if (sb.length() > 0) {
                sb.append(' ');
            }
            sb.append(i);
        } int i intArray {
            if (sb.length() > 0) {
                sb.append(' ');
            }
            sb.append(i);
        } {
            if (sb.length() > 0) {
                sb.append(' ');
            }
            sb.append(i);
        } if (sb.length() > 0) {
                sb.append(' ');
            } sb.length() > 0 sb.length() sb.length sb 0 {
                sb.append(' ');
            } sb.append(' ') sb.append sb ' ' sb.append(i) sb.append sb i return sb.toString(); sb.toString() sb.toString sb String input input private static int[] split(String s) {
        final String[] s0 = s.split(" ");
        int[] ints = new int[s0.length];

        for (int i = 0; i < s0.length; i++) {
            ints[i] = Integer.parseInt(s0[i]);
        }

        return ints;
    } split {
        final String[] s0 = s.split(" ");
        int[] ints = new int[s0.length];

        for (int i = 0; i < s0.length; i++) {
            ints[i] = Integer.parseInt(s0[i]);
        }

        return ints;
    } final String[] s0 = s.split(" "); s0 s.split(" ") s.split s " " int[] ints = new int[s0.length]; ints new int[s0.length] s0.length s0 s0.length for (int i = 0; i < s0.length; i++) {
            ints[i] = Integer.parseInt(s0[i]);
        } int i = 0; int i = 0; i 0 i < s0.length i s0.length s0 s0.length i++ i++ i {
            ints[i] = Integer.parseInt(s0[i]);
        } {
            ints[i] = Integer.parseInt(s0[i]);
        } ints[i] = Integer.parseInt(s0[i]) ints[i] ints i Integer.parseInt(s0[i]) Integer.parseInt Integer s0[i] s0 i return ints; ints String s s private static String readLine() {
        java.util.Scanner s = null;
        try {
            s = new java.util.Scanner(System.in);
            return s.nextLine();
        } finally {
            if (s != null) {
                s.close();
            }
        }
    } readLine {
        java.util.Scanner s = null;
        try {
            s = new java.util.Scanner(System.in);
            return s.nextLine();
        } finally {
            if (s != null) {
                s.close();
            }
        }
    } java.util.Scanner s = null; s null try {
            s = new java.util.Scanner(System.in);
            return s.nextLine();
        } finally {
            if (s != null) {
                s.close();
            }
        } {
            if (s != null) {
                s.close();
            }
        } if (s != null) {
                s.close();
            } s != null s null {
                s.close();
            } s.close() s.close s {
            s = new java.util.Scanner(System.in);
            return s.nextLine();
        } s = new java.util.Scanner(System.in) s new java.util.Scanner(System.in) return s.nextLine(); s.nextLine() s.nextLine s public class Main {

    public static void main(String[] args) {
        final String line = readLine();
        System.out.println(calc(line));
    }

    protected static String calc(String input) {
        final int[] intArray = split(input);

        Arrays.sort(intArray);

        StringBuffer sb = new StringBuffer();

        for (int i : intArray) {
            if (sb.length() > 0) {
                sb.append(' ');
            }
            sb.append(i);
        }

        return sb.toString();
    }

    private static int[] split(String s) {
        final String[] s0 = s.split(" ");
        int[] ints = new int[s0.length];

        for (int i = 0; i < s0.length; i++) {
            ints[i] = Integer.parseInt(s0[i]);
        }

        return ints;
    }

    private static String readLine() {
        java.util.Scanner s = null;
        try {
            s = new java.util.Scanner(System.in);
            return s.nextLine();
        } finally {
            if (s != null) {
                s.close();
            }
        }
    }
} public class Main {

    public static void main(String[] args) {
        final String line = readLine();
        System.out.println(calc(line));
    }

    protected static String calc(String input) {
        final int[] intArray = split(input);

        Arrays.sort(intArray);

        StringBuffer sb = new StringBuffer();

        for (int i : intArray) {
            if (sb.length() > 0) {
                sb.append(' ');
            }
            sb.append(i);
        }

        return sb.toString();
    }

    private static int[] split(String s) {
        final String[] s0 = s.split(" ");
        int[] ints = new int[s0.length];

        for (int i = 0; i < s0.length; i++) {
            ints[i] = Integer.parseInt(s0[i]);
        }

        return ints;
    }

    private static String readLine() {
        java.util.Scanner s = null;
        try {
            s = new java.util.Scanner(System.in);
            return s.nextLine();
        } finally {
            if (s != null) {
                s.close();
            }
        }
    }
} Main
import java.util.Arrays;

public class Main {

    public static void main(String[] args) {
        final String line = readLine();
        System.out.println(calc(line));
    }

    protected static String calc(String input) {
        final int[] intArray = split(input);

        Arrays.sort(intArray);

        StringBuffer sb = new StringBuffer();

        for (int i : intArray) {
            if (sb.length() > 0) {
                sb.append(' ');
            }
            sb.append(i);
        }

        return sb.toString();
    }

    private static int[] split(String s) {
        final String[] s0 = s.split(" ");
        int[] ints = new int[s0.length];

        for (int i = 0; i < s0.length; i++) {
            ints[i] = Integer.parseInt(s0[i]);
        }

        return ints;
    }

    private static String readLine() {
        java.util.Scanner s = null;
        try {
            s = new java.util.Scanner(System.in);
            return s.nextLine();
        } finally {
            if (s != null) {
                s.close();
            }
        }
    }
}