n = int(input()) rec = [] for i in range(n + 1): for j in range(n + 1): rec.append(2 ** i * 5 ** j) rec = sorted(rec) for i in rec: print(i)