A clothes store had 71 pairs of pants in stock at the beginning of the week. They received an additional shipment of 39 pairs, but then sold 54 pairs. How many pairs of pants does the store have in stock now?