Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: a can do a work in 24 days and b can do it in 12 days . in how many days a and b can do the work ?
Output:
8 day