CREATE TABLE table_78507 ("Rider" TEXT, "Manufacturer" TEXT, "Laps" FLOAT, "Time/Retired" TEXT, "Grid" FLOAT)

What is the average grid for competitors who had more than 22 laps and time/retired of +17.276?
SELECT AVG("Grid") FROM table_78507 WHERE "Time/Retired" = '+17.276' AND "Laps" > '22'
SELECT AVG("Grid") FROM "table_78507" WHERE "Laps" > '22' AND "Time/Retired" = '+17.276'