Jim and his wife Jeri attend a party with 4 other married couples. As they enter, Jim and Jeri shake hands with some of the guests, but not with each other. During the evening, each person except 1 shakes hands with some of the guests, but not with their spouse. After the party, Jim asks each guest how many people they shook hands with and got answers 0,1,2,3,4,5,6,7,8. How many people did Jeri shake hands with?
Because of the person with 8 handshakes, Jeri has at least 1 handshake, and this means that person with 0 handshakes is the 8 handshakes person's spouse. Person with 7 handshakes shook hands with person 8 and not with person 0 and his/her spouse, so person 7 too shook hands with Jeri. But now I'm stuck and everything's really confusing... How can I proceed?