CREATE TABLE table_name_37 (laps INT, rider VARCHAR, grid VARCHAR)

What was the highest number of laps for rider Shuhei Aoyama in a grid higher than 24?
SELECT MAX(laps) FROM table_name_37 WHERE rider = "shuhei aoyama" AND grid > 24
SELECT MAX("laps") FROM "table_name_37" WHERE "grid" > 24 AND "rider" = "shuhei aoyama"