Crane A can unload a ship in 10 hours and crane B can unload it in 14 hours. How long will it take the two cranes to unload the ship working together?