Pipe A can fill an empty cistern in 15 hours while Pipe B takes 25 hours to fill it. Initially Pipe A is left open for some time and then closed and Pipe B is switched on immediately. In all the cistern rakes 21 hours to be filth How long was Pipe A open?