There are two candidates P and Q in an election. During the campaign, 40% of the voters promised to vote for P, and rest for Q. However, on the day of election 15% of the voters went back on their promise to vote for P and instead voted for Q. 25% of the voters went back on their promise to vote for Q and instead voted for P. Suppose, P lost by 2 votes, then what was the total number of voters?
100
P receives 0.40×0.85+0.60×0.25=0.49 of all votes; Q receives 0.51. A margin of 0.02N=2 gives N=100 voters.