The US President said that he had voted for the Republicans