instruction: find the average age of patients under the age of 24 who were admitted in or before the year 2176.
response: SELECT AVG(demographic.age) FROM demographic WHERE demographic.age >= "24" AND demographic.admityear >= "2176"