human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: School, Location, Mascot, Size, IHSAA Class, County, Year Joined, Previous Conference
###Question: What country joined before 1976, with IHSSA class of 5a, and a size larger than 1,112?
gpt
SELECT County FROM table WHERE Size > 1,112 AND IHSAA Class = 5a AND Year Joined < 1976