Two pipes can fill a cistern in 12 and 20 hours respectively. The pipes are opened simultaneously and it is found that due to leakage in the bottom, 30 minutes extra are taken for the cistern to be filled up. If the cistern is full, what time would the leak take to empty it?