I have to prove the following :
Let $A$ be a commutative ring with unity and let $\mathfrak{a}_{i}$ be ideals in $A$. Assume that $\mathfrak{a}_{1} + \dots + \mathfrak{a}_{n} = A$. Let $r_{i}$ be positive integers. Prove that $\mathfrak{a}_{1}^{r_{1}} + \dots + \mathfrak{a}_{n}^{r_{n}} = A$.
I must confess I have absolutely no idea how to do that. Usually I try to come with what I have already done but here... nothing.