There were 4 candidates in an election. 80 % of the registered voters cast their votes. 1 candidate received 30% of the cast votes and the others 3 received in the ratio 1:2:3. The person who receive the highest no of votes has 2512 more votes than the second highest candidate. What were the total number of REGISTERED voters?