Schema: CREATE TABLE table_name_54 (population INTEGER, median_household_income VARCHAR, number_of_households VARCHAR)
Question: Median household income of $40,340, and a Number of households smaller than 64,767 is what average population?
SQL: SELECT AVG(population) FROM table_name_54 WHERE median_household_income = "$40,340" AND number_of_households < 64 OFFSET 767