An airplane leaves an airport and flies due west 180 miles and then 160 miles in the direction S79.17˚W. How far is the plane from the airport at this time (to the nearest mile)?