Select the sentence which is correctly punctuated.

A) He used 1- and 2-inch bandages.
B) He used 1 and 2-inch bandages.

I answered A

A is correct.