During a class election 20 students voted for candidate A. If the ratio of votes for candidate A to the votes for candidate B was 10:1, how many votes did candidate B receive?