Lincoln went to the grocery store and purchased cans of soup and frozen dinners. Each can of soup has 250 mg of sodium and each frozen dinner has 550 mg of sodium. Lincoln purchased a total of 13 cans of soup and frozen dinners which collectively contain 4450 mg of sodium. Determine the number of cans of soup purchased and the number of frozen dinners purchased.