At the hardware store I was quoted 12 cents for one, 24 cents for 50, and 36 cents for 144. I wanted six. What was I buying and how much did it cost me?

At the hardware store I was quoted 12 cents for one, 24 cents for 50, and 36 cents for 144. I wanted six. What was I buying and how much did it cost me?