A ball is dropped from a height of 48 feet. Each time the bounces, it travels back up half the distance from which it fell. How many feet has the ball traveled when it hits the ground for the fifth time?