A shirt that cost $420 was discounted 20% for Bloomingdale's one day sale. When the sale was over, the shirt was marked up 20%. What is the cost of the shirt now?