using System; using System.Collections.Generic; public class Yuki677 { public static void Main() { var n = long.Parse(Console.ReadLine()); var a = new List(); long b = 1; for(int i = 0; i <= n; ++i) { long c = 1; for(int j = 0; j <= n; ++j) { a.Add(b * c); c *= 5; } b *= 2; } a.Sort(); foreach(long x in a) Console.WriteLine(x); } }