Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: a man sells a car to his friend at 10 % loss . if the friend sells it for rs . 54000 and gains 20 % , the original c . p . of the car was :
