A and B can do a piece of work in 4 days, while C and D can