Pipe A can fill a tank in 25 minutes. Pipe B can fill a tank in 20 minutes. To fill the empty tank, Pipe A was opened alone for 3 minutes and, after that, Pipe B was also opened. How much time will it take for both Pipes A and B to finish filling the tank?