In an election, the number of candidates is one more than the number of members to be elected. A voter can cast any number of the vote but not more than the candidates to be elected and not less than 1 vote. If a voter can cast his vote in 30 ways, then the number of the candidates is