In a panchayat election, there were four candidates, and 80% of the total voters cast their votes. One of the candidates received 30% of the casted votes while the other three candidates received the remaining casted votes in the proportion of 1 : 2 : 3. If the winner of the election received 2512 votes more than the candidate with the second highest votes, then the number of registered voters was