The task is to generate the correct answer for a given math problem.

Example Input: Problem: a certain social security recipient will receive an annual benefit of $ 12,000 provided he has annual earnings of $ 9,360 or less , but the benefit will be reduced by $ 1 for every $ 3 of annual earnings over $ 9,360 . what amount of total annual earnings would result in a 40 percent reduction in the recipient ' s annual social security benefit ? ( assume social security benefits are not counted as part of annual earnings . )
Example Output: $ 30,96

Example Input: Problem: the sum of the even numbers between 1 and n is 89 * 90 , where n is an odd number , then n = ?
Example Output: 179

Example Input: Problem: a student has to obtain 35 % of the total marks to pass . he got 100 marks and failed by 40 marks . the maximum marks are ?
Example Output:
400