A can do a job in 10 days and B in 20 days. They work together, but 4 days before the finish of the job A left. How many days they work together?
A and B can together finish a work in 30 days. They worked together for 20 days and then B left. After another 20 days, A finished the remaining work. In how many days A alone can finish the job?