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

Input: Consider Input: Problem: a and b together can complete work in 6 days . a alone starts working and leaves it after working for 4 days completing only half of the work . in how many days it can be completed if the remaining job is undertaken by b ?

Output: 12


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: working alone , mary can pave a driveway in 4 hours and hillary can pave the same driveway in 3 hours . when they work together , mary thrives on teamwork so her rate increases by 33.33 % , but hillary becomes distracted and her rate decreases by 50 % . if they both work together , how many hours will it take to pave the driveway ?


Output: 2 hours