Tap filling a tank

Two taps A & B can fill a tank in 24 minutes and 48 minutes respectively. If both taps are opened together then after how many minutes tap B must be closed, so that...