Let $A_1, \dots , A_n$ be commutative unitary Rings and $A = \prod_{i=1}^{n} A_i$. Then every prime Ideal $\frak{p}$ $\subset A$ is of the form $\pi_i^{-1}(\frak{p}_i)$ where $\pi_i: A \to A_i$ are the canonical projections and $\frak{p_i}$ $\subset A_i$ is prime.
I know that every Ideal in $A$ is a direct product of Ideals in the $A_i$, so we have $\frak{p}$ $= \frak{a}_i \times \dots \times \frak{a}_n$ for some Ideals $\frak{a}_i$ $\subset A_i$. They are also prime since $\frak{p}$ is prime. Now, since the $\pi_i$ are surjective $\pi_i(\frak{p})$ $\subset A_i$ is prime as well. Then we have $\pi_i^{-1}(\pi_i(\frak{p})) \supset \frak{p}$. Now I don't know how to finish the proof.
Hints and/or improvements are greatly appreciated!