Let $\mathfrak{p}$ be a maximal element (maybe the symbol is a bit presumptuous). You should first tell me why $\mathfrak{p}$ isn't the whole ring. Now take two elements $a,b$ not contained in $\mathfrak{p}$. Then, for instance, the ideal $\mathfrak{p} + Ra$ properly contains $\mathfrak{p}$ and hence can't be one of the ideals in $S$. What sort of element has to then lie in $\mathfrak{p} + Ra$? Go through the same reasoning for $b$. Play around with the resulting elements.