A house-painting company charges $376 plus $12 per hour. Another painting company charges $280 plus $15 per hour. How long is a job for which both companies will charge the same amount? *

A) 19 hours
B) 24 hours
C) 31 hours
D) 32 hours