Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: a jar contains a mixture of ab in the ratio 4 : 1 . when 40 l of mixture is replaced with liquid b , ratio becomes 2 : 3 . how many liters of liquid a was present in mixture initially .
