A shopkeeper buys 40 bicycles and marks them at 25% above the cost price. He allows a discount of 10% on the marked price for cash sales, and 5% for credit sales. If threefourth of the stock is sold for cash and the rest for credit. If the total profit be ` 20250, then what is the cost price of a bicycle?