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, Phoebs
Speaker 2: Hey.
Speaker 1: Uhm, we just wanna give you a heads-up. Bill and Colleen hate us.
Speaker 3: Owen didn't know he was adopted, and Monica told him.
Speaker 1: What?
Speaker 2: Still, he had to find out sometime.
Speaker 3: Yeah, but how would you like it if someone told the triplets that you gave birth to them?
Speaker 3: I'm gonna go tell Emma she was an accident.
Solution:
1