During a sale, a store offered a 40% discount on a bed that
originally sold for $790. After the sale, the discounted price of
the bed was marked up by 40%. What was the price of the bed
after the markup? Round to the nearest cent.