The total amount of money collected by a store for sweatshirt sales was $10,000. Each sweatshirt sold for $40. What was the total number of sweatshirts sold by the store?