A television was sold at a gain of 20% after allowing a discount of 20% on its marked price . Had it been sold after allowing 25% discount there would have been a gain of Rs.1450. Find the marked price of the television.​