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