<s>[INST] A bakery sells a total of 500 muffins and cakes on a certain day. The number of muffins sold was three times the number of cakes. What was the number of muffins and cakes sold that day?[/INST]