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