Provide your best answer for the following math problem. Give ONLY the answer, no other words or explanation.
For example:

Answer: <most likely answer, as short as possible; not a complete sentence, just the answer!>.

The problem is: a candidate got 34 % of the votes polled and he lost to his rival by 640 votes . how many votes were cast ?
2000
(640 votes) / (0.64 or 64%) = 1000 votes.