Ram sold to Shyam an article with 20% profit. Shyam sold same article for Rs. 504 with 5% profit to Ghanashyam. How much did it cost for Ram?
please do this with solutions quickly!!​