text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_name_37 (laps INTEGER, rider VARCHAR, grid VARCHAR)
  ### Question:
  What was the highest number of laps for rider Shuhei Aoyama in a grid higher than 24?
  ### Answer:
  SELECT MAX(laps) FROM table_name_37 WHERE rider = "shuhei aoyama" AND grid > 24