The shirt company reviewed their records and realized they actually had 8657 shirts left in their inventory at the end of the month, not 9475 as previously thought. How many shirts did they actually sell during the month?