user: Question: What is the average for the year 2008 of the team that in 2010 had an average of 240735 with rank lower than 5?
Columns: ['Rank', 'Airport', 'City', 'Code (IATA/ICAO)', '2008', '2009', '2010']
Types: ['real', 'text', 'text', 'text', 'real', 'real', 'real']
Sample row: [1.0, 'Henri Coandă International Airport', 'Bucharest', 'OTP/LROP', 5063555.0, 4480765.0, 4802510.0]
SQL:

assistant: SELECT AVG("2008") FROM "Table" WHERE "2010" = 240735.0 AND "Rank" < 5.0;