In a soap factory, a worker started with 241 bars of soap in the morning. By the afternoon, 21 bars of soap were packed and ready for shipment. How many bars of soap remained in the factory after the worker packed some of them?