Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: a collection of books went on sale , and 2 / 3 of them were sold for $ 3.50 each . if none of the 40 remaining books were sold , what was the total amount received for the books that were sold ?
