A small factory can produce 245 sofas each day or 315 overstuffed chairs per day. the workers produced 8,820 pieces of furniture to fill an order. if they built sofas for 18 days, how many days of production were needed to build the chairs?