Task: Question Answering
Input (English): Problem: a and b can do a piece of work in 10 days and 10 days respectively . they work together for 10 days and b leaves . in how many days the whole work is completed ?
Output (English): 30 days