The great electors, the secret ballot, the quorum: how the election of the Head of State works