part year resident tax filing

Hi, I work for a consultancy company in NY and they sent me to MA and IL for some time last year. I have two questions:

(1) they issued three W-2, one for each state. How do I enter three W-2 in turbotax?

(2) The W-2 for MA and IL show only that state's portion of state wages & tips in box 16. However, the NY W-2 shows the entire amount in box 16. Am I not double paying NY state tax for the portion that's already covered in MA/IL W-2?

thanks