M can do a piece of work in 20 days. He works at it alone for 5 days, and N alone finishes the remaining work in 9 days. In how many days, both of them together can complete the work?

a) 7
b) 8
c) 10
d) 12