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