using System; public class Classmiya { static void Main() { string stdin = Console.ReadLine(); Int64 N = Int64.Parse(stdin); double d = Math.Pow(10,N); Int64 x = (Int64)d; Int64 xhalf = x / 2; for (Int64 i = 1; i <= xhalf; i++){ if(x % i == 0)Console.WriteLine(i); } Console.WriteLine(x); } }