An airplane flew a total of 6,240 miles. Its average speed was 520 miles per hour. How many hours did the plane fly?