After allowing a discount of 40% on the marked price, a shopkeeper earns 25% profit. What is the ratio of the cost price to the marked price?