A ball is dropped from a height of 12 feet and returns to a height that is 1/2 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 vertically when it hits the ground for the fourth time?