A vessel contains water and acid in the ratio 16: 5. 31.5 litres of the mixture is taken out from the vessel and 2.5 litres of acid and 4 litres of water is added to the mixture. If the resultant mixture contains 25% acid, what was the initial quantity of mixture in the vessel before replacement?