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

Ex Input:
Problem: if 5 a = 3125 , then the value of 5 ( a - 3 ) is :

Ex Output:
25


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: how much is 60 % of 40 is greater than 4 / 5 of 30 ?

Ex Output:

0