An airplane leaves the airport and flies due west 170 miles and then 240 miles in the direction 200°30'. Assuming the earth is flat, how far is the plane from the airport at this time( to the nearest mile)?