A leak in the bottom of a tank can empty the full tank in 8 hour. An inlet pipe fills water at the rate of 6 liters a minutes. When the tank is full the inlet is opened and due to leak the tank is empty in 12 hours. How many liters does the cistern hold ?