The rain starts at 8:00 AM and pours until it stops at 4:00 PM on the first day. On the second day, the rain lasts 3 more hours than it did on the first day. On the third day, the rain lasts twice as long as it did on the second day. Calculate the total amount of time it was raining over the three days. Let's think step by step and output the final answer within \boxed{}.
user