Let the total quantity of the solution initially in the vessel be \(x\) litres. The amount of acid in the solution is \(0.36x\) and the amount of water is \(0.64x\). After taking out 4 litres of the solution, the remaining solution in the vessel will contain \(x - 4\) litres. Then, after adding 4 litres of water, the total volume is \(x\) again. The amount of acid remains unchanged, but now the amount of acid in the new solution is \(0.30 \times x\). By setting up an equation based on the concentration of acid in the new solution, we solve for \(x = 24\).
Thus, the correct answer is 24.