using System; namespace yukicoder { class Program { static void Main(string[] args) { string[] s = Console.ReadLine().Split(' '); string a = s[0]; string b = s[1]; string c = ""; bool f = a.Equals(b); if (f==false) { c = a; a = b; b = c; } Console.WriteLine(a+" "+b); } } }