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_40 (time VARCHAR, laps VARCHAR, rider VARCHAR)
### Question:
Which Time has Laps smaller than 28, and a Rider of nicky hayden?
### Answer:
SELECT time FROM table_name_40 WHERE laps < 28 AND rider = "nicky hayden"