On the Structure of Commutative Rings with p1 k1 ··· pn (1 ≤ ki ≤ 7