A pump can fill a tank in 3 hrs. Due to a leakage, it took 312 hrs to fill it up completely. If the tank is full, how long will it take for the leakage to empty it?