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

Example Input: Problem: amit and ananthu can do a work in 10 days and 20 days respectively . amit started the work and left after 2 days . ananthu took over and completed the work . in how many days was the total work completed ?
Example Output: 18 days

Example Input: Problem: of the diplomats who attended a summit conference : 20 spoke japanese , 32 did not speak russian and 20 % of the diplomats spoke neither japanese nor russian . if 10 % of the diplomats spoke both japanese and russian , then how many diplomats attended the conference ?
Example Output: 120

Example Input: Problem: in an exam , gibi scored 59 percent , jigi scored 55 percent , mike scored 99 percent and lizzy 67 percent . the maximum score awarded in the exam is 700 . find the average mark scored by all the 4 students ?
Example Output:
490