Answer :

You need at 270 votes out of 538 electors