A tank is filled by three pipes with the uniform flow. The first two pipes operating simultaneously fill tank in the same time throughout which the tank is filled by third pipe alone. The second pipe fills the tank 5 hours faster than first pipe and four hours slower than the third pipe. The time needed by the first pipe is:
A. 6 hours
B. 10 hours
C. 15 hours
D. 30 hours