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

Input: Consider Input: Problem: a and b can do a work in 5 days and 10 days respectively . a starts the work and b joins him after 2 days . in how many days can they complete the remaining work ?

Output: 2

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 a ™️ s contribution in the capital ?

Output: 15750

Input: Consider Input: Problem: a is two years older than b who is twice as old as c . if the total of the ages of a , b and c be 17 , the how old is b ? a . 7 b . 8 c . 9 d . 10 explanation :
Output: 6