Gavin started hiking at 8:00 A.M. when the temperature was 64°F. The temperature rose 17°F by noon. The temperature then fell 25°F by the time Gavin finished hiking. What was the temperature when Gavin finished hiking?