A train leaves a station heading west. After traveling north for 24 miles, the train travels 18 miles north. How far is
the train from the station? Round your answer to the nearest whole number if needed