using System;
using System.Collections.Generic;
using System.Linq;

namespace Sort
{
    class Program
    {

        static void Main(string[] args)
        {
            List<int> i = Console.ReadLine().Split(' ')
                    .Select(e => int.Parse(e)).ToList();
            
            i.Sort();

            Console.WriteLine(string.Join(" ", i));
        }
    }
}