Instruct: Which Grid has Laps of 24, and a Rider of marco melandri?
Output: SELECT SUM Grid FROM table WHERE Laps = 24 AND Rider = marco melandri