Double a penny every day for 30 days. How many dollars do you have?
A and B can complete a job in 30 and 20 days respectively. They start working together and B leaves 5 days before the work is finished. In how many days is the total work finished?