Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: p and q invested in a shop . the profits were divided in the ratio of 4 : 6 respectively . if p invested rs . 55,000 , the amount invested by q is :
