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

Problem: a can do a piece of work in 10 days and b can do it in 15 days and c can do it 20 days . they started the work together and a leaves after 5 days and b leaves after 3 days from the beginning . how long will work lost ?
6