You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
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'.

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
Why? 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.

New input: Speaker 1: That's her! Okay, come on! 
Speaker 2: Hi! 
Speaker 3: Hi. 
Speaker 2: So which one of you lucky boys is Chandler? 
Speaker 1: Uh, that-that's-that's me! 
Speaker 3: That's me. 
Speaker 1: Joey Tribbiani, a big fan. 
Speaker 2: So is that a bedroom? 
Speaker 3: Yeah, yeah right over there. 
Speaker 2: All right, whenever you're ready. 
Speaker 3: That was weird. 
Speaker 1: Why-why would she go in the bedroom? 
Speaker 2: I'm waiting. 
Speaker 3: So she's a... 
Speaker 1: Yeah, that's one naked hooker!
Solution:
1