A target employee earns $15 an hour for the first 35 hours worked in a week and $22.50 for any hours over 35. One week's paycheck (before deductions) was for $705. How many hours did the employee work?