A carpenter bought bolts to finish a project. In all, the bolts weighed 3 pounds. There are 16 ounces in 1 pound. If each bolt weighed 1/8 ounce, how many bolts did the carpenter buy?