A family on a trip budgets $1,000 for meals and gasoline. If the price of a meal for the family is $50 and if gasoline costs $3.50 per gallon, then how many meals can the family buy if they buy 100 gallons of gasoline?