In an election contested between A and B, A obtained was equal to twice the number of persons on the electoral roll who did not cast their votes and this later number was equal to twice his majority over B. If there were 18000 persons on the electoral roll, how many voted for B?