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

Ex Input:
Problem: anne bought doughnuts for a class breakfast party . she bought 9 chocolate doughnuts , 7 coconut doughnuts , and 9 jam - filled doughnuts . how many doughnuts did anne buy in all ?

Ex Output:
25


Ex Input:
Problem: if there are 200 questions in a 3 hr examination . among these questions are 100 type a problems , which requires twice as much as time be spent than the rest of the type b problems . how many minutes should be spent on type a problems ?

Ex Output:
120 mi


Ex Input:
Problem: jonathan can type a 40 page document in 40 minutes , susan can type it in 30 minutes , and jack can type it in 24 minutes . working together , how much time will it take them to type the same document ?

Ex Output:

10 minutes