A salesperson gets a commission of 4% on all sales up to $8000 and a commission of 6% on all sales over $8000. What is the commission earned on sales of $12 500?