Before the 12th amendment, the person receiving the most votes became the president. The person receiving the second highest amount became Vice President
The 12th amendment changed things so that we now vote for both a President and a Vice President.