The given conditions give us that there are exactly one Sylow p-sbgp. and one Sylow

q-sbgp. which are thus normal.

Since they're intersection is obviously trivial their product is their own direct product, and since

the product of their orders is the order of G then G is the direct product of

abelian groups...

Tonio