10. For the geometric sequence $\left\{a_{n}\right\}$ with the first term $a_{1}=1536$, common ratio $q=-\frac{1}{2}$, $\Pi_{n}$ represents the product of its first $n$ terms $\left(n \in \mathbf{N}^{*}\right)$, the value of $n$ that maximizes $\mathrm{II}_{n}$ is . $\qquad$