The company found an error in their manufacturing record and realized they actually produced 43 batches of pens, not 10. Each batch still contained 39 pens. How many pens did the company actually produce?