Barbara Cusumano worked 60 hours last week. Of those hours, 40 hours were paid at the regular-time rate of $12.50 an hour, 18 hours at the time-and-a-half rate, and 2 hours at the double-time rate. What was Barbara's gross pay for the week?