Part 1. Definition
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'.
Part 2. 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?
Answer: 1
Explanation: 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.
Part 3. Exercise
Speaker 1: Alright. I'm gonna go change, I've got a date. 
Speaker 2: This Alan again? How's it goin'? 
Speaker 1: 'S'going pretty good, y'know? It's nice, and, we're having fun. 
Speaker 3: So when do we get to meet the guy? 
Speaker 1: Let's see, today's Monday... Never. 
Speaker 4: Oh, come on! Come on! 
Speaker 1: No. Not after what happened with Steve. 
Speaker 5: What are you talking about? We love Schhteve! Schhteve was schhexy!.. Sorry. 
Speaker 1: Look, I don't even know how I feel about him yet. Just give me a chance to figure that out. 
Speaker 2: Well, then can we meet him? 
Speaker 1: Nope. Schhorry.
Answer:
1