Deductions & credits

I should add that if you want to move the money to a different IRA custodian, you can do that via a simple direct transfer, but the new account will still be an "inherited IRA" and subject to those rules.   If you take it out for any reason, you pay the taxes first.