Ralph is an electrician. He charges an initial fee of $32, plus $33 per hour. If Ralph earned $197 on a job, how long did the job take?