N=int(input()) LIST=[] for i in range(N+1): for j in range(N+1): LIST.append(2**i * 5**j) LIST.sort() for l in LIST: print(l)