Caleb went to the grocery store and purchased cans of soup and frozen dinners. Each can of soup has 200 mg of sodium and each frozen dinner has 500 mg of sodium. Caleb purchased a total of 15 cans of soup and frozen dinners which collectively contain 4500 mg of sodium. Determine the number of cans of soup purchased and the number of frozen dinners purchased.