You will be given a definition of a task first, then some input of the task.
The task is to generate the correct answer for a given math problem.

Problem: a can do a piece of work in 28 days and b alone can do it in 10 days . b works at it for 5 days and then leaves . a alone can finish the remaining work in
Output:
14 days