A ball is dropped straight down from a height of 16 feet. If it bounces back each time to a height one-half the height from which it last fell, how far will the ball have traveled when it hits the floor for the sixth time, in feet?

Let's think step by step and output the final answer within \boxed{}.
user