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