N = int(input()) divisors = [] for i in range(N + 1): for j in range(N + 1): divisors.append(2 ** i * 5 ** j) divisors.sort() for divisor in divisors: print(divisor)