Given the task definition and input, reply with output. Given a math problem with context and a question and 5 answer choices, the task is to provide the correct answer choice based on the problem. You must choose one of the given answer choices by letter: a, b, c, d, or e; anything else is invalid.

Problem: at an election 2 candidates are participated and a candidate got 20 % of votes and defeated by 500. and 10 votes are invalid. find the total polled votes ?
Options: a. 843, b. 1023, c. 965, d. 413, e. 1245
a