A bakery is making whole-wheat bread and apple bran muffins. For each batch of bread, they make a $35 profit,.For each batch of muffins, they make a $10 profit. The bread takes 240 minutes to prepare and 60 minutes to bake. The muffins take 30 minutes to prepare and 30 minutes to bake. The maximum preparation time is 960 minutes. The maximum bake time available is 60 minutes. How many batches of bread and muffins should be made to maximize profit?