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

Ex Input:
Problem: a , b and c are partners in a business . their capitals are respectively , rs . 5000 , rs . 6000 and rs . 4000 . a gets 30 % of the total profit for managing the business . the remaining profit is divided among 3 in the ratio of their capitals . in the end of the year , the profit of a is rs . 200 more than the sum of the profits of b and c . find the total profit ?

Ex Output:
3000


Ex Input:
Problem: irin , ingrid and nell bake chocolate chip cookies in the ratio of 9.18 : 5.17 : 2.05 . if altogether they baked a batch of 148 cookies , what percent of the cookies did ingrid bake ?

Ex Output:
31.7 %


Ex Input:
Problem: set x consists of all two - digit primes and set y consists of all positive multiples of 4 less than 100 . if the two sets are combined into one , what will be the range of the new set ?

Ex Output:

93