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: Speech! Come on Monica!
Speaker 2: Come on!
Speaker 3: Come on! Speech!
Speaker 4: Hey Chandler, you can't keep your hands off her for one second!
Speaker 1: Oh-ho, I think it's nice.
Speaker 5: I think it's necessary.
Speaker 6: I-I-I wanna thank you all for coming. My family and my friends...
Speaker 7: Wooo!! Hoo!!
Speaker 6: I really like to say that I'm-um... Y'know what I'd really like to say? I'm drunk!! That's right mom and dad your little Harmonica is hammered!! And guess what! I've been drunk before! And I've smoked a cigarette! And I got a box of Ding-Dongs hidden in my underwear drawer! It's all okay. It's okay because I turned thirty today. And, and I can do anything I want! Because I am a grown up.
Speaker 7: Okay quick, help me get this off!
Speaker 8: Yeah!!
Student:
1