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

Input: Consider Input: Problem: the profits of qrs company rose 30 % from march to april , then dropped 20 % from april to may , then rose 50 % from may to june . what was the percent increase for the whole quarter , from march to june ?

Output: 56 %

Input: Consider Input: Problem: a man purchased earphone on friday . but he forgot how much it cost . the data he have are mean expenditure of all 7 days is 500 . expenditure on mon , tue , wed , thurs , sat , sun are 450600 , 400500 , 550300 . on friday he purchased 3 things one earphone , one pen and one notebook . pen cost 30 and notebook cost 50 . then what is cost of earphone ?

Output: 620

Input: Consider Input: Problem: on a two - dimensional coordinate plane , the line a = x ^ 2 - x ^ 3 touches the x - axis in how many places ?
Output: 2