K1 Trust 1099A Amounts

If Box 14 has an amount in H and also has the letter I, which amount do I use as a non-resident for the state the trusts resides in?  The trust is in NY and I am a VA resident.  I have an amount shown in the  non-resident beneficiary section of the statement.