A man sells a car to his friend at 10% loss. If the friend sells it for Rs.54000 and gains 20% then the original C.P of the car was ______ .