n = int(input()) ANS = [] for i in range(n + 1): res1 = pow(2, i) for j in range(n + 1): res2 = res1 * pow(5, j) ANS.append(res2) ANS.sort() print(*ANS, sep='\n')