A dealer is selling an article at a discount of 15%. Find
(i) The selling price if the marked price is Rs. 500
(ii) The cost price if he marks 25% profit.