The winner of a recent election had 220 more votes than the loser. There were a total of 810 votes for the two candidates. How many votes did each candidate have?