In an election between two candidates, one, candidate secured 58% of the votes polled and won the election by 18,336 votes. Find the total number of votes polled and the votes secured by each candidate.