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: Nope, not that one.
Speaker 2: Can you go any faster with that?
Speaker 1: Hey, I got one keyhole and about a zillion keys. You do the math.
Speaker 2: Why do you guys have so many keys in there anyway?
Speaker 3: For an emergency just like this.
Speaker 4: All right, listen, smirky. If it wasn't for you and your stupid balloon, I would be on a plane watching a woman do this right now. But I'm not.
Speaker 2: I swear you said you had the keys.
Speaker 4: No, I didn't. I wouldn't say I had the keys unless I had the keys, and I obviously didn't have the keys.
Speaker 5: Ooh, ok, that's it. Enough with the keys. No one say keys.
Output:
2