Dorie can paint an entire house in 12 hours, and Mercedes can paint the same house in 8 hours. How long would it take the 2 of them to paint the house together?