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, thank you for the delicious dinner.
Speaker 2: You're welcome for a delicious dinner.
Speaker 3: Hey what are you guys looking at?
Speaker 4: Ross and the most beautiful girl in the world.
Speaker 3: Yeah, come to papa.
Speaker 2: I know!
Speaker 5: Probably the only time I'll ever say this, but did you see the ass on her?
Speaker 4: Where did you, when did you, how did you... How did you get a girl like that?
Speaker 6: Yeah, so what is she, like a... like a spokesmodel, or an aerobics instructor, what?
Speaker 2: Actually she's a paleontology doctoral candidate, specializing in the centazoic era.
Speaker 4: Okay, but that's, like, the easiest era.
Speaker 2: I've seen her at work, but I always figured, ah-huh? But, uh, I made her dinner. We had a great time. And we're going out again tomorrow.
Speaker 6: Well maybe she and her friends are just having a contest to see who can bring home the biggest geek.
Speaker 2: Fine by me; hope she wins.
Output:
2