IRA Deduction - Multiple States?

I have entered a $5500 traditional IRA deduction for my federal return.

However, in 2016 I was a partial resident of Hawaii and California, and worked as a Hawaii resident in Colorado for a few months before moving to California.

How do I allocate the $5500 IRA deduction among these states?  Do they each get the full $5500 deduction, or is it proportionate between them according to the portion of money made in each location?