A 0.649g sample containing only K₂SO₄ and (NH₄)₂SO₄ was dissolved in water and treated with Ba(NO₃)₂ to precipitate all sulfate as BaSO₄. If 0.977g of precipitate was formed, calculate the percent of each sulfate compound in the sample.