What is the correct deductions for HSA line 12?

I am not clear on the deductions for line 12 under HSA
I have 3
12a has a D designation
12b has a W designation
12c has a DD designation