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: So what's your name?
Speaker 2: Chandler.
Speaker 1: Chandler? What an unusual name! You must've had terribly fascinating parents.
Speaker 2: Oh, they're a hoot.
Speaker 1: And who is your friend?
Speaker 3: I'm-I'm Monica.
Speaker 1: Monica! Where are you from?
Speaker 3: New York.
Speaker 1: I'm not very fond of New York. Queens I like. Ooh, what is this sparkle something! Honey! Huh?
Speaker 2: Actually Monica and I are engaged.
Speaker 1: Really?! Congratulations. When's the big day?
Speaker 3: In...in two weeks.
Speaker 1: I see. Well, I wish you both a lifetime of happiness. So you're bald?
Speaker 2: Wait! Wait! We'd really love it if you could be there.
Speaker 1: We?
Speaker 2: I know it would make me happy, ma'am.
Speaker 1: Well I wouldn't miss it for the world. Oh! I'm getting all misty here! You'd think I was having my legs waxed or something.
Speaker 3: You okay?
Speaker 2: Yeah. Thanks for making me do this.
Output:
1