A dealer purchased a fan for Rs 1080. After allowing a discount of 25% on its marked price, he gains 25%. Find the marked price of the fan.