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