6,000 people voted in a town election. Of the two candidates, the winning candidate received 4,000 more votes than the losing candidate. How many votes did the winner get?