Two pipes A and B can fill a tank in 15 hours and 20 hours, respectively, while a third pipe C can empty the full tank in 30 hours. If all the three pipes operate simultaneously, in how much time will the tank, initially empty, be filled?
A12 hours
B15 hours
C18 hours
D13 hours