According to the twelfth amendment to the constitution when no presidential candidate receives a majority of electoral votes the president is selected by the