A 0.6407 g sample containing chloride and iodide ions gave a silver halide precipitate weighing 0.4430 g. This precipitate was then strongly heated i a stream of Cl2 gas to covert the AgI to AgCl. On completion of this treatment, the precipitate weighed 0.3181 g. Calculate the percentage of chloride and iodide in the sample.