A furniture store is offering a 30% discount on all items. On weekends, there is an additional $50 off on all sofas after the initial discount is applied. If the cost of a sofa after all discounts is $490, what was the original price of the sofa before any discounts? Let's think step by step and output the final answer within \boxed{}.
user