**Hint** : the Sylow theorems guarantee that a group of order $p^n$ has a chain of subgroups $G_0 \subset \dots \subset G_n$, each normal in the next, with $|G_i|=p^i$. This shows that a group of order $p^n$ is solvable. Now demonstrate such a sequence on $S$ by inducting on $K$, the number of prime power factors.