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

Example Input: Problem: a man whose speed is 4.5 kmph in still water rows to a certain upstream point and back to the starting point in a river which flows at 1.5 kmph , find his average speed for the total journey ?
Example Output: 4

Example 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 ?
Example Output: 15750

Example Input: Problem: a plant manager must assign 8 new workers to one of five shifts . she needs a first , second , and third shift , and two alternate shifts . each of the shifts will receive 2 new workers . how many different ways can she assign the new workers ?
Example Output:
336