n = int(input()) a = [2**i for i in range(n+1)] b = [5**i for i in range(n+1)] r = sorted(i*j for i in a for j in b) print(*r,sep="\n")