Teacher: You are given a dialog between 2 or more individuals. You need to generate the number of the speaker (e.g. 1 for Speaker 1) who had the most lines in the dialog. If there is a tie, output the answer '0'.
Teacher: Now, understand the problem? If you are still confused, see the following example:
Speaker 1: What do you think we should do for our 10th wedding anniversary? 
Speaker 2: Hm, how about we take a vacation? Somewhere sandy and warm. 
Speaker 1: Well, if we're going to go out of the country, you need to be sure to renew your passport. It expired over a year ago! 
Speaker 2: How about we get something expensive instead of travelling.  We could get a new car. 
Speaker 1:  Is this your way of telling me that you want me to buy you a car?
Solution: 1
Reason: In this dialog, there are 5 lines of speech.  Three of them belong to Speaker 1 and two of them belong to Speaker 2.  Therefore, Speaker 1 has the most lines in the dialog.

Now, solve this instance: Speaker 1: Nice to see you Rachel. 
Speaker 2: Oh, hi! 
Speaker 1: So glad you brought someone. 
Speaker 2: Someone? I brought people. Mr. Thompson, this is Phoebe. Phoebe, this is Mr. Thompson. He's the head of my department. 
Speaker 3: Oh, hi. 
Speaker 2: And I also brought my friend Joey... 
Speaker 4: Oh!! Shrimp toast! 
Speaker 2: Well, y'know I-I don't know where he is. 
Speaker 1: Well, I hope you're gonna bid on some things Rachel. 
Speaker 2: Well, y'know what? Actually, I was about to bid on this lovely trip to Paris. 
Speaker 1: Ohh, nice choice. 
Speaker 2: Yeah. 
Speaker 1: Good luck. 
Speaker 2: Thank you. Okay, twenty dollars.
Student:
2