from itertools import product from operator import mul n = int(input()) print(*sorted([mul(*i) for i in product([2 ** i for i in range(n+1)], [5 ** i for i in range(n+1)])]), sep="\n")