Input (grade 12): Since sodium sulfate is much less water-soluble than ammonium nitrate, it precipitates, and may be filtered off.
Output (grade 10): It can be made by reacting sodium nitrate with ammonium sulfate. This makes a solution of ammonium nitrate and sodium sulfate.