user: Question: What was the population for census ranking 782 of 5,008?
Columns: ['Official Name', 'Status', 'Area km 2', 'Population', 'Census Ranking']
Types: ['text', 'text', 'text', 'real', 'text']
Sample row: ['Quispamsis', 'Town', '57.06', 17886.0, '231 of 5,008']
SQL:

assistant: SELECT "Population" FROM "Table" WHERE "Census Ranking" = '782 of 5,008';