Education

I think where I'm getting hung up is I paid $10K of student loan interest throughout the year. 70% of my time was in AZ so I paid $7K while in AZ. Do I base the 70% off $10K actually paid or the $2.5K deduction cap? Keeping in mind that I am not able to claim the deduction in the non AZ state due to income being above the threshold.