If I work in 3 states, I live in one of them. When I get to the percentages do I put the % from that state or the percentage of the total amount.$32,900 CT vs $20k in NJ?

I also worked in NY. So my wife says $32,900 for both CT and NY and only $20k for NJ. So when it is at state wages do I remove all of them except NJ when I do NJ, then when I do NY I put in that percentage worked and same for CT?