A retail store sells gadgets at a 15% profit over the cost price. During a clearance sale, the store offers a 25% discount on the marked price, but still manages to make a 5% profit over the original cost price. If the cost price of a gadget is $200, what is the marked price before the discount? Let's think step by step and output the final answer within \boxed{}.
user