2 W2 copies (one employee reference copy and MD state Reference Copy)

Hi I received 2 different copies for my W2

box 12a AA have different amounts on both sheets

box 15 reads TOTAL STATE on employee copy and MD in MD State copy

box 16 is empty on employee copy but has an amount on MD State copy

box 17 amount is different on both copies as well.

 

unsure of what numbers I should use when entering my return, as everything else is the same on both copies.

I lived in the same state all 2024, please help