A and B working alone can do a work in 40 days and 30 days, respectively. They started the work together, but B left after some time and A finished the remaining work in 5 days. How many days after starting did B leave the work?
1
12 days
2
14 days
3
16 days
4
15 days