Someone works in both CT and PA at different times during the yr. PA is where they reside (student in CT). Where do they pay taxes on each income and what taxes can be deducted from the other state.