M can do a piece of work in 40 days. He works at it for 5 days and then N alone finishes the remaining work in 42 days. The two together could complete the work in how many days?