Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: a can finish a piece of work in 4 days . b can do it in 10 days . they work together for two days and then a goes away . in how many days will b finish the work ?
