Given the task definition and input, reply with output. The task is to generate the correct answer for a given math problem.

Problem: in an election between two candidates , one got 60 % of the total valid votes , 30 % of the votes were invalid . if the total number of votes was 9000 , the number of valid votes that the other candidate got , was :
2520