Detailed Instructions: The task is to generate the correct answer for a given math problem.
Problem:Problem: for each of her sales , a saleswoman receives a commission equal to 20 percent of the first $ 500 of the total amount of the sale , plus 50 percent of the total amount in excess of $ 500 . if the total amount of one of her sales was $ 800 , the saleswoman ' s commission was approximately what percent of the total amount of the sale ?
Solution:
31