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

Ex Input:
Problem: during a certain two - week period , 60 percent of the movies rented from a video store were comedies , and of the remaining movies rented , there were 3 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:
6 a


Ex Input:
Problem: a is twice as good a workman as b and they took 6 days together to do the work b alone can do it in .

Ex Output:
18 days


Ex Input:
Problem: if the difference between the length and breadth of a rectangle is 23 m and its perimeter is 266 m , what is its area ?

Ex Output:

4290