A can complete 25% of a work in 15 days. He works for 15 days and then B alone finishes the remaining work in 30 days. In how many days will A and B working together finish 50% of the same work?