N = int(input()) A = set() for i in range(N+1) : for j in range(N+1) : A.add(2**i * 5**j) print(*sorted(list(A)), sep="\n")