user: ### NOW ANSWER:
Question: What is the largest lap number when the time was +31.982?
Columns: ['Rider', 'Bike', 'Laps', 'Time', 'Grid']
Types: ['text', 'text', 'real', 'text', 'real']
Sample row: ['Noriyuki Haga', 'Yamaha YZF-R1', 18.0, '32:05.318', 1.0]
SQL:

assistant: SELECT MAX("Laps") FROM "Table" WHERE "Time" = '+31.982';