Electing the US president; how to
To simplify the matter, assume there are only 7 states
State A counts as 5 votes (based on population of that state) Majority voted for X
State B counts as 4 votes ( based on ...). Majority in that state voted for Y
State C counts as 9 votes (based on...