human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: School, Locality, Ages, Capacity, Ofsted
###Question: Which Ofsted has a Capacity of 1677?
gpt
SELECT Ofsted FROM table WHERE Capacity = 1677