import static java.lang.System.*; import java.util.*; public class Main { static Scanner sc = new Scanner(System.in); public static void main(String[] args) { int n = sc.nextInt(); Set set = new TreeSet<>(); for (int i=0; i<=n; i++) { for (int j=0; j<=n; j++) { set.add((long)(Math.pow(2,i)*Math.pow(5,j))); } } set.forEach(out::println); } }