One employee earns a weekly salary of $500, and another works hourly, making $10 per hour. How many hours does the hourly employee need to work to earn the same weekly amount as the salaried employee?

A): 35 hours
B): 37 hours
C): 45 hours
D): 50 hours