>>12317901
12th amendment to the us constitution
The Electors shall meet in their respective states and vote by ballot for President and Vice-President…which… they shall sign and certify, and transmit sealed to the seat of the government of the United States, directed to the President of the Senate;
The (VP) shall, in the presence of the Senate and House of Representatives, open all the certificates and the votes shall then be counted; – The person having the greatest number of votes for President, shall be the President, if such number be a majority of the whole number of Electors appointed; and if no person have such majority, then….the House of Representatives shall choose immediately, by ballot, the President. But in choosing the President, the votes shall be taken by states, the representation from each state having one vote; a quorum for this purpose shall consist of a member or members from two-thirds of the states, and a majority of all the states shall be necessary to a choice