A ball is dropped from a height of 12 feet and returns to a height that is one-half of the height from which it fell. The ball continues to bounce half the height of the previous bounce each time. How far will the ball have traveled when it hits the ground for the fifth time?