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_5 (year INTEGER, best_goalkeeper VARCHAR, runner_up VARCHAR, third_place VARCHAR)
### Question:
What year was the runner-up Portugal with Italy in third place, and the gold keeper Nuno Hidalgo?
### Answer:
SELECT AVG(year) FROM table_name_5 WHERE runner_up = "portugal" AND third_place = "italy" AND best_goalkeeper = "nuno hidalgo"