N=int(input()) ans=set() for i in range(N+1): two=2**i for k in range(N+1): ans.add(two*5**k) ans=list(ans) ans.sort() for i in ans: print(i)