Heavy rain caused a river to rise. The river rose three inches the first day, and each additional day it rose twice as much as the previous day. How much did the river rise in five days?