A tank is quarter filled with water. If 12 litres of water is added to it, it becomes two-fifth filled. What is the capacity of the tank?