Instruct: What is the highest capacity of the airport in Rio de Janeiro, which was ranked greater than 6 and had more than 5,099,643 total passengers?
Output: SELECT MAX Capacity FROM table WHERE Rank > 6 AND Location = rio de janeiro AND Total Passengers > 5,099,643