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