In an election between two candidates, a candidate who gets 72% of votes is elected by a majority of 572 votes. Find the total number of the votes polled. (assuming all votes are valid)