Deductions & credits

Oh, I see. 

What if I already contributed $8000 to both?