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

Ex Input:
Problem: if p / q = 3 / 11 , then 2 p + q = ?

Ex Output:
17

Ex Input:
Problem: assume that f ( 1 ) = 0 and f ( m + n ) = f ( m ) + f ( n ) + 4 ( 9 mn - 1 ) . for all natural numbers ( integers > 0 ) m and n . what is the value of f ( 17 ) ?

Ex Output:
4832

Ex 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 ?

Ex Output:
8 2 / 3 a