Definition: The task is to generate the correct answer for a given math problem.
Input: 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 ?
