n=int(input()) ans=set() for i in range(n+1): for j in range(n+1): tmp=pow(2,i)*pow(5,j) ans.add(tmp) ans=list(ans) ans.sort() for i in ans: print(i)