def powx(x, n): a = 1 for i in range(0, n): a *= x return a N = int(raw_input()) memo = [] for i in range(0, N+1): for j in range(0, N+1): memo.append(powx(2, i)*powx(5, j)) memo.sort() for i in range(0, len(memo)): print memo[i]