A can paint a certain house in 10 days and B can paint the house in 12 days. How long will it take to paint the house if both men work?

A can paint a certain house in 10 days and B can paint the house in 12 days. How long will it take to paint the house if both men work?