How do I fill in the student loan ded on two different state filings? How do I figure the portion?

Worked 3 months in AR and 9 months in OK.  Loan deduction is $1034 on federal, but each state asking how much was determined in the $1034.  No clue how to figure that out.  15% to AR and 85% to OK from the $1034 or is it the income I need to base the percentage on?