James bought 32 bolts at the hardware store for a total of $12.00. some were 3−inch bolts that cost 36 cents each and the others were 4−inch bolts that cost 42 cents each. how many 3−inch bolts did james buy?