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?
CREATE TABLE "brazil_s_15_busiest_airports_by_passenge" (
  "rank" real,
  "location" text,
  "total_passengers" real,
  "annual_change" text,
  "capacity" real,
  "capacity_in_use" text
);
SELECT MAX("capacity") FROM "brazil_s_15_busiest_airports_by_passenge" WHERE "rank">6 AND "location"='rio de janeiro' AND "total_passengers">'5,099,643';