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: Nice to see you Rachel.
Speaker 2: Oh, hi!
Speaker 1: So glad you brought someone.
Speaker 2: Someone? I brought people. Mr. Thompson, this is Phoebe. Phoebe, this is Mr. Thompson. He's the head of my department.
Speaker 3: Oh, hi.
Speaker 2: And I also brought my friend Joey...
Speaker 4: Oh!! Shrimp toast!
Speaker 2: Well, y'know I-I don't know where he is.
Speaker 1: Well, I hope you're gonna bid on some things Rachel.
Speaker 2: Well, y'know what? Actually, I was about to bid on this lovely trip to Paris.
Speaker 1: Ohh, nice choice.
Speaker 2: Yeah.
Speaker 1: Good luck.
Speaker 2: Thank you. Okay, twenty dollars.
Output:
2