A new crew of painters can paint a small apartment in 12 hours. An experienced crew can paint the small apartment in 6 hours. How many hours does it take to paint the apartment when the two crews work together?

It takes _____ hours to paint the apartment when the two crews work together.