A and B can finish work in 30 days if they work together. They worked together for 20 days and then B left. A finished the remaining works in another 20 days. In how many days A alone can finish the work?