Pipe A can fill a tank in 10 hours and pipe B in 15 hours. If both are opened together, how long will it take to fill the tank?