import java.util.*;

public class Main
{
    public static void main(String... args)
    {
        final Scanner lineScanner = new Scanner(System.in);
        final Scanner scanner = new Scanner(lineScanner.nextLine());
        final List<Integer> integers = new ArrayList<Integer>();
        while (scanner.hasNextInt()) {
            integers.add(scanner.nextInt());
        }
        Collections.sort(integers);
        System.out.println(integers.toString().replaceAll("[^0-9]+", " ").trim());
    }
} import java.util.*; util.* java public class Main
{
    public static void main(String... args)
    {
        final Scanner lineScanner = new Scanner(System.in);
        final Scanner scanner = new Scanner(lineScanner.nextLine());
        final List<Integer> integers = new ArrayList<Integer>();
        while (scanner.hasNextInt()) {
            integers.add(scanner.nextInt());
        }
        Collections.sort(integers);
        System.out.println(integers.toString().replaceAll("[^0-9]+", " ").trim());
    }
} Main public static void main(String... args)
    {
        final Scanner lineScanner = new Scanner(System.in);
        final Scanner scanner = new Scanner(lineScanner.nextLine());
        final List<Integer> integers = new ArrayList<Integer>();
        while (scanner.hasNextInt()) {
            integers.add(scanner.nextInt());
        }
        Collections.sort(integers);
        System.out.println(integers.toString().replaceAll("[^0-9]+", " ").trim());
    } main {
        final Scanner lineScanner = new Scanner(System.in);
        final Scanner scanner = new Scanner(lineScanner.nextLine());
        final List<Integer> integers = new ArrayList<Integer>();
        while (scanner.hasNextInt()) {
            integers.add(scanner.nextInt());
        }
        Collections.sort(integers);
        System.out.println(integers.toString().replaceAll("[^0-9]+", " ").trim());
    } final Scanner lineScanner = new Scanner(System.in); lineScanner new Scanner(System.in) final Scanner scanner = new Scanner(lineScanner.nextLine()); scanner new Scanner(lineScanner.nextLine()) final List<Integer> integers = new ArrayList<Integer>(); integers new ArrayList<Integer>() while (scanner.hasNextInt()) {
            integers.add(scanner.nextInt());
        } scanner.hasNextInt() scanner.hasNextInt scanner {
            integers.add(scanner.nextInt());
        } integers.add(scanner.nextInt()) integers.add integers scanner.nextInt() scanner.nextInt scanner Collections.sort(integers) Collections.sort Collections integers System.out.println(integers.toString().replaceAll("[^0-9]+", " ").trim()) System.out.println System.out System System.out integers.toString().replaceAll("[^0-9]+", " ").trim() integers.toString().replaceAll("[^0-9]+", " ").trim integers.toString().replaceAll("[^0-9]+", " ") integers.toString().replaceAll integers.toString() integers.toString integers "[^0-9]+" " " String... args args public class Main
{
    public static void main(String... args)
    {
        final Scanner lineScanner = new Scanner(System.in);
        final Scanner scanner = new Scanner(lineScanner.nextLine());
        final List<Integer> integers = new ArrayList<Integer>();
        while (scanner.hasNextInt()) {
            integers.add(scanner.nextInt());
        }
        Collections.sort(integers);
        System.out.println(integers.toString().replaceAll("[^0-9]+", " ").trim());
    }
} public class Main
{
    public static void main(String... args)
    {
        final Scanner lineScanner = new Scanner(System.in);
        final Scanner scanner = new Scanner(lineScanner.nextLine());
        final List<Integer> integers = new ArrayList<Integer>();
        while (scanner.hasNextInt()) {
            integers.add(scanner.nextInt());
        }
        Collections.sort(integers);
        System.out.println(integers.toString().replaceAll("[^0-9]+", " ").trim());
    }
} Main
import java.util.*;

public class Main
{
    public static void main(String... args)
    {
        final Scanner lineScanner = new Scanner(System.in);
        final Scanner scanner = new Scanner(lineScanner.nextLine());
        final List<Integer> integers = new ArrayList<Integer>();
        while (scanner.hasNextInt()) {
            integers.add(scanner.nextInt());
        }
        Collections.sort(integers);
        System.out.println(integers.toString().replaceAll("[^0-9]+", " ").trim());
    }
}