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_77 (laps VARCHAR, manufacturer VARCHAR, rider VARCHAR)
  ### Question:
  How many laps did Valentino rossi have when riding a vehicle manufactured by yamaha?
  ### Answer:
  SELECT laps FROM table_name_77 WHERE manufacturer = "yamaha" AND rider = "valentino rossi"