Detailed Instructions: The task is to generate the correct answer for a given math problem.
Problem:Problem: we bought a total of 90 books at the store . math books cost $ 4 and history books cost $ 5 . the total price was $ 390 . how many math books did we buy ?
Solution:
60