Tallying an Election

Five candidates – A, B, C, D, and E – were in an election. Candidate A was elected with 30 votes; B placed second; and E was last with 3 votes. If 49 votes were cast and no two candidates had the same number of votes, what is the smallest number of votes that B could have received?

(Source: Adapted from Mathematics Teaching in the Middle School, May 1996)