7. (15%) Let $A$ be a $p \times p$ matrix with nonnegative eigenvalues. Show that

$$\det(A) \leq \exp[\operatorname{tr}(A - I_p)].$$