using System; using System.Linq; using System.Collections.Generic; static class NagataKanaIsAGenius { public static void Main() { int n=int.Parse(Console.ReadLine()); Console.WriteLine($"1 {n}"); } }