A man received two shipments of ball bearings. In the first shipment, 1% of the ball bearings were defective. In the second shipment which was twice as large as the first, 4.5% of the ball bearings were defective. If the company received a total of 100 defective ball bearings, how many ball bearings were there in the first shipment?