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

Input: Consider 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 ?

Output: 120


Input: Consider Input: Problem: a starts business with rs . 3500 and after 8 months , b joins with a as his partner . after a year , the profit is divided in the ratio 2 : 3 . what is b â € ™ s contribution in the capital ?

Output: 15750


Input: Consider Input: Problem: a man goes from a to b at a speed of 20 kmph and comes back to a at a speed of 30 kmph . find his average speed for the entire journey ?


Output: 24