Sam has a summer job at a new office building. He can paint 34 of a room in 23 of an hour. He gets paid $15 per hour.

How much money will he earn for painting 24 rooms?