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