The employees in a firm earn $8.50 an hour for the first 40 hours worked per week and $12.75 an hour for any additional hours worked over 40 hours. How much does an employee who works 47 hours in one week earn?

A. $599.25

B. $429.25

C. $340.00

D. $89.25