The 8 people at a party shook hands exactly once with each of the others before the ninth person arrived. The ninth person then shook hands with some of these 8 people. A total of 32 handshakes took place. With how many people did the ninth person shake hands?
Answer Choices
A. 3
B. 4
C. 5
D. 6
E. 7