Definition: 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: Nana is on the phone.
Speaker 2: Oh! That's interesting, since she died seven years ago!!
Speaker 1: She did? Who got her condo in Boca?
Speaker 2: Hello? Oh, it's our nanny! Hi! Oh... God! I hope you feel better! Ok, bye! That's Molly, she's sick. Can you watch Emma today?
Speaker 3: No, I can't. I have back-to-back classes. Did Molly say what she had? Because my throat's been hurting?
Speaker 2: Menstrual cramps.
Speaker 3: I don't think that's what this is.
Output:
2