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: Rach, you there?
Speaker 2: Oh my God, it's Ross. What are we gonna do?
Speaker 3: Oh, ju-ju-just stay calm. Just be calm. For all he knows we're just hanging out together. Right? Just be nonchalant. That's not nonchalant!
Speaker 2: No idea what it means.
Speaker 3: Oh... okay, just hide!
Speaker 1: Rach?
Speaker 3: Coming! Try under the bed, try under the bed!
Speaker 3: There's no room under the bed.
Speaker 1: Is everything okay?
Speaker 3: Yeah...
Speaker 1: Hey.
Speaker 3: Hi...
Speaker 1: You know where Joey is?
Speaker 3: ...I really don't...
Speaker 1: Can I talk to you for a minute?
Speaker 3: Yeah, sure...
Speaker 2: I don't believe this... Have you guys been...
Speaker 4: Shhh... This is the listening side of the wall.
Solution:
3