Divided US votes to elect new president