At an election, a voter may vote for any number of candidates not greater than the number of candidates to be elected. There are 10 candidates and 4 are to be elected. If a voter votes for atleast 1 candidate, then the number of ways in which he can vote is