It chooses the next Federal President by an absolute majority vote. If no-one has an absolute majority on the first and second ballot, then they hold a third ballot, and the winner is the person who has the highest number of votes.