Mr. Wong wants to purchase 12 new smoke detectors for his house. Store A sells each smoke detector for $17 and Store B sells each smoke detector for $24. If Mr. Wong purchases all his smoke detectors at Store A, how much less will he spend than if he purchased all the smoke detectors at Store B?