Each state shall appoint, in such manner as the legislature thereof may direct, a number of electors, equal to the whole number of senators and representatives to which the state may be entitled in the congress: but no senator or representative, or person holding an office of trust or profit under the united states, shall be appointed an elector