user: Question: What is the average grid for competitors who had more than 22 laps and time/retired of +17.276?
Columns: ['Rider', 'Manufacturer', 'Laps', 'Time/Retired', 'Grid']
Types: ['text', 'text', 'real', 'text', 'real']
Sample row: ['Casey Stoner', 'Ducati', 22.0, '44:12.891', 4.0]
SQL:

assistant: SELECT AVG("Grid") FROM "Table" WHERE "Time/Retired" = '+17.276' AND "Laps" > 22.0;