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: Oh, God. This is bad. This is so bad.
Speaker 2: Well, let's just go in there and face them.
Speaker 3: Well, I'm not going in first. I bet that vein on Monica's forehead is popping like crazy.
Speaker 4: I hate that thing, it's like a... bolt of lightning.
Speaker 1: Oh, hey, I have an idea. Why don't we play rock-paper-scissors, and whoever loses goes in first. Ready?
Speaker 4: Ah-haah! I win!!
Speaker 2: What is that?
Speaker 4: That's fire. Beats everything.
Speaker 3: Oh, really? Does it beat water balloon?
Speaker 4: Ooh! Well played, Phoebe Buffay, well played.
Speaker 1: Alright, enough, enough, come on. Let's just all go in at the same time.
Speaker 5: Alright, okay.
Speaker 3: It's locked.
Solution:
4