A does half as much work as B and C does half as much work as A and B together in the same time. If C alone can do the work in 40 days, all of them together will finish the work in:______