Josh and Mae work at a concession stand. They each earn $8 per hour, Josh worked three hours more than Mae. If Josh and Mae earned a total of $120, how many hours did Josh work?