A clothing store is having a promotional sale. For every 3 shirts purchased, customers get a 20% discount on the total cost of those 3 shirts. Each shirt costs $50. If a customer buys 9 shirts, how much will they pay in total after the discount? Let's think step by step and output the final answer within \boxed{}.
user