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

Input: Consider Input: Problem: a can do a piece of work in 80 days . he works at it for 10 days b alone finishes the remaining work in 42 days . in how much time will a and b working together , finish the work ?

Output: 30


Input: Consider Input: Problem: find the greatest number that will divide 205 , 626 and 588 leaving 5 , 6 and 8 as remainders respectively

Output: 2


Input: Consider Input: Problem: the maximum number of student amoung them 1001 pens and 910 pencils can be distributed in such a way that each student gets the same number of pens and same number of pencils is :


Output: 91