a water tank has an inlet and an outlet. the inlet is capable of filling the tank in 20 min. and outlet is capable of emptying the tank in 40 min. When the outlet was opened to fill the empty tank, person did not notice that outlet was open. So both the inlet and outlet were open. in how much time will the tank be just filled ?