A local charity is wrapping holiday gifts for local needy families. When 8 volunteers work together, they can get all the gifts wrapped and distributed in 6 hours. How many hours would it have taken if there had been 12 volunteers, each working at the same rate?