Detailed 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'.
Problem:Speaker 1: Hey!
Speaker 2: Hey!
Speaker 3: Hey-ooh so, how was Vermont?
Speaker 2: Emily is...incredible. I mean there-there are no words to describe it, I mean the whole weekend was like a dream. Oh! And you! Rach!
Speaker 4: Oh, hey!
Speaker 2: Hey! You were so right!
Speaker 4: What?
Speaker 2: Uh, what you said, about us being in a place where we could finally be happy for each other.
Speaker 4: Oh, hmm.
Speaker 2: I mean, I, I-I admit I-I wasn't quite there. Y'know, I mean the thought of you and that-that Josh guy...
Speaker 4: Joshua.
Speaker 2: Joshua...guy at that club, dancing and having a good time, the thought of it kinda...y'know.
Speaker 4: Yeah, I...
Speaker 2: But now! I'm there! I'm totally there! I'm-I'm finally where you are!
Speaker 4: Oh, thank goodness!
Speaker 2: Yeah, and-and thank you for Emily.
Speaker 4: Oh, no problem. I'm so glad I could help. Happy for you.
Speaker 2: Happy for you.
Speaker 4: No, happy for you!
Solution:
2