Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
### Context:
CREATE TABLE table_name_82 (year INTEGER, tyres VARCHAR, chassis VARCHAR)
### Question:
How many years were g Tyres and Minardi m187 used?
### Answer:
SELECT AVG(year) FROM table_name_82 WHERE tyres = "g" AND chassis = "minardi m187"