How do you figure the percentage of this question.

The vote count for candidate A was 7,310. The vote count for candidate B was 14,190 . Only two candidates were running. What percent of the voters voted for candidate A?

7,310 + 14,190 = 21,500

7,310 / 21,500 = 0.34 = 34%