Deductions & credits

to me, either method works - the amount that is deductible should be the same