Instructions: 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: Did you get your money back?
Speaker 2: Yeah, 15 hundred dollars.
Speaker 3: Wow! You made a profit!
Speaker 4: I just came for the red-velvet pillow.
Speaker 2: Oh yeah, there you go.
Speaker 4: Thanks Rachel. And-and don't forget you-you can come visit her anytime you want.
Speaker 2: Oh good, great! I'll-I'll keep that in mind.
Speaker 4: Hey! So what is this? Some kind of snake or something?
Output:
2