What is the formula for a solution of ammonium sulfate is added to a solution of barium hydroxide?

The formula for ammonium sulfate is (NH4)2SO4. The formula for barium hydroxide is Ba(OH)2.