Task: Question Answering
Input (English): Problem: p , q and r have $ 4000 among themselves . r has two - thirds of the total amount with p and q . find the amount with r ?
Output (English): 160