A trader sells two articles, A at a 20% profit, and B at a profit of 35%. He calculates profit% on the selling price. Ratio of the profits of the both the articles is 3:4. Cost price of B is Rs. 13,000 then find the cost price of A.