n = int(input()) a = set() for i in range(n+1): for j in range(n+1): a.add(2**i*5**j) for e in sorted(list(a)): print(e)