N = int(input()) st = set() for ni in range(N + 1): for go in range(N + 1): st.add(2 ** ni * 5 ** go) ans = sorted(list(st)) print(*ans, sep = "\n")