from itertools import product as p print(*sorted((5**i)*(2**j) for i,j in p(range(int(input())+1),repeat=2)),sep="\n")