Pipe A and pipe B fill water into a tank of capacity 1000 litres, at a rate of 200 l/min and 50 l/min. Pipe C drains at a rate of 25 l/min. Pipe A is open for 1 min and closed, then pipe B is open for 2 min and closed. Further the pipe c is opened and drained for another 2 min. This process is repeated until the tank is filled. How long will it take to fill the tank?  Choose the correct choice from the following
A) 15 B) 17 C) 18 D) 56 E) 20
tank capacity: 1000 L,   1st- 200 l/min for 1 min, volume filled: 200 L   2nd- 100 l/min for 2 min, volume filled: 100 L   3rd (water draining) : 25 l/min*2 : 50 L   total :  (200+100)-50= 
<gadget id="calculator"> (200+100)-50</gadget>
<output>250</output>
250 L filled for 1 cycle   number of 250 in 1000 L tank :1000/250= 
<gadget id="calculator">1000/250</gadget>
<output>4</output>
4   time taken to fill: 4* total time= 4*5= 
<gadget id="calculator">4*5</gadget>
<output>20</output>
20 (option 20)
<result>E</result>
Pipe A and pipe B fill water into a tank of capacity 1000 litres, at a rate of 200 l/min and 50 l/min. Pipe C drains at a rate of 25 l/min. Pipe A is open for 1 min and closed, then pipe B is open for 2 min and closed. Further the pipe c is opened and drained for another 2 min. This process is repeated until the tank is filled. How long will it take to fill the tank?