SCHEMA:
CREATE TABLE table_name_21 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
USER:
Tell me the sum of laps with a time/retired of +13 laps with grid more than 18

QUERY:
SELECT SUM(laps) FROM table_name_21 WHERE time_retired = "+13 laps" AND grid > 18