question: What was the population for census ranking 782 of 5,008?
answer: SELECT population FROM table_171236_1 WHERE census_ranking = "782 of 5,008"
context: CREATE TABLE table_171236_1 (population VARCHAR, census_ranking VARCHAR)