using System; using System.Text; using System.Linq; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization.Formatters; using static System.Console; using static System.Math; namespace YukiCoder { public class Program { public static void Main(string[] args) { new Program().Solve(); } public void Solve() { int n = int.Parse(Console.ReadLine()); List ansList = new List(); for (int i = 0; i <= n; i++) { for (int j = 0; j <= n; j++) { ansList.Add(Math.Pow(2,i) * Math.Pow(5, j)); } } ansList.Sort(); for (int i = 0; i < ansList.Count; i++) { WriteLine(ansList[i]); } } } }