What is the highest number of Laps that have a Time of +18.366, and a Grid lower than 13?
CREATE TABLE table_50946 (
    "Rider" text,
    "Manufacturer" text,
    "Laps" real,
    "Time" text,
    "Grid" real
)
SELECT MAX("Laps") FROM table_50946 WHERE "Grid" < '13' AND "Time" = '+18.366'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the highest number of Laps that have a Time of +18.366, and a Grid lower than 13? ### Input: CREATE TABLE table_50946 (
    "Rider" text,
    "Manufacturer" text,
    "Laps" real,
    "Time" text,
    "Grid" real
) ### Response: SELECT MAX("Laps") FROM table_50946 WHERE "Grid" < '13' AND "Time" = '+18.366'