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

Input: Consider Input: Problem: twice the larger of two numbers is 3 more than 5 times the smaller , and the sum of 4 times the larger and 3 times the smaller is 71 . what are the numbers ?

Output: 14


Input: Consider 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 . )

Output: $ 30,96


Input: Consider Input: Problem: during a certain two - week period , 58 percent of the movies rented from a video store were comedies , and of the remaining movies rented , there were 5 times as many dramas as action movies . if no other movies were rented during that two - week period and there were a action movies rented , then how many comedies , in terms of a , were rented during that two - week period ?


Output: 8 2 / 3 a