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'.
Input: Speaker 1: You know what, Ross? I'm gonna throw in 50 bucks for you. 
Speaker 2: Why? 
Speaker 1: Because I know that you think the lottery is "boohaki" but we're all here and gonna watch the numbers and have fun. And you're my brother, and I want you to be a part of this. 
Speaker 2: You don't have to do that, I'll pay for myself. But just the fact that you want me to have fun with you guys - that's so sweet! Come here. 
Speaker 3: Get a room! 
Speaker 4: Ok, so now that you're in, what are you gonna do if we win? 
Speaker 2: I don't know, probably just invest it. 
Speaker 4: Ooh! Calm down ... 
Speaker 5: Seriously, that's your fantasy? To invest it? 
Speaker 2: Oh, I'm sorry, did I say "invest it"? I meant "be cool and piss it all away". 
Speaker 5: Ooh, ooh, I know! We should pool all own money and buy the Knicks! 
Speaker 6: I don't really care about the Knicks. 
Speaker 5: Oh, you will when I pick you as starting forward. 
Speaker 6: You would do that? I never get picked! 
Speaker 4: You know, I'm not sure a sports team is the way to go. 
Speaker 5: You're not gonna let me buy the Knicks?? I can't believe you're taking this away from me! 
Speaker 4: You're right, it has been you dream for over 15 seconds. 
Speaker 2: Uh, how long until they announce the numbers, Mommy? 
Speaker 4: I'll take this one too Uh ... Mommy? 
Speaker 2: Oh, I've gotten into the habit of calling Rachel "Mommy" when we're around Emma. Which I now realize we are not ... 
Speaker 6: I'm hoping that if she hears it enough it will be her first word. 
Speaker 2: Although if we're gonna do that, we should probably call me "Daddy" too. 
Speaker 3: Oooh, I like that, "daddy". 
Speaker 2: I ... I was just talking about Rachel. 
Speaker 3: Oooh, is daddy getting angry? Is daddy gonna spank me? 
Speaker 2: Well that depends ... have you been a baaad gi .. no I can't.
Output:
2