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: Ross, but me down for another box of the mint treasures, okay. Where, where are the mint treasures?
Speaker 2: Ah, we're out. I sold them all.
Speaker 1: What?
Speaker 2: Monica, I'm cutting you off.
Speaker 1: No. No, just, just, just a couple more boxes. It-it-it's no big deal, all right, I'm-I'm cool. You gotta help me out with a couple more boxes!
Speaker 2: Mon, look at yourself. You have cookie on your neck.
Speaker 1: Oh God!
Speaker 3: So, how many have you sold so far?
Speaker 2: Check this out. Five hundred and seventeen boxes!
Speaker 3: Oh my God, how did you do that?
Speaker 2: Okay, the other night I was leaving the museum just as 'Laser Floyd' was letting out of the planetarium, without even trying I sold 50 boxes! That's when it occurred to me, the key to my success, 'the munchies.' So I ah, started hitting the NYU dorms around midnight. I am selling cookies by the case. They call me: 'Cookie Dude!'
Output:
2