n = int(input()) l = [] for i in range(1, 10**n+1): if 10**n % i == 0: l.append(i) for i in l: print(i)