Task: Question Answering
Input (English): Problem: if the arithmetic mean of p and q is 10 and the arithmetic mean of q and r is 22 , what is the value of r - p ?
Output (English): 24