Out of three pipes the first two can fill an empty tank in 9 and 18 hours, respectively while the third can drain the filled tank in 15 hours. If all the three pipes are opened when the tank is empty, after how many hours will the tank be full?

Correct Answer: 10