Robert can paint a certain wall in 8 minutes, while it takes Jack 24 minutes to paint the same wall. How long will it take Robert and Jack to paint the wall working together?