A cistern can be filled with water by a pipe in 5 hours and it can be emptied by a second pipe in 4 hours. If both the pipes are opned when the cistern is full, the time in which it will be emptied is :
[A] 18 hours
[B] 9 hours
[C] 20.5 hours
[D] 20 hours