using System.Collections.Generic; using System; public class Hello { public static void Main() { var n = int.Parse(Console.ReadLine().Trim()); if (n == 0) { Console.WriteLine(1); goto end; } var n10 = (long)Math.Pow(10, n); var imax = (long)Math.Sqrt(n10); var a = new List(); a.Add(1); a.Add(n10); for (long i = 2; i <= imax; i++) if (n10 % i == 0) { a.Add(i); if (n10 / i != i) a.Add(n10 / i); } a.Sort(); foreach (var x in a) Console.WriteLine(x); end:; } }