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: I can't believe Joey. I hate being called a liar!
Speaker 2: But you are a liar.
Speaker 1: What did I just say?
Speaker 3: You still here?
Speaker 1: Yes, and I have to say, I am not just hurt. I am insulted. When I tell somebody I did something...
Speaker 3: Ok whoah-hey... Let me just stop you right there, ok? First, you lied, right? Then, you lied about lying, ok? Then you lied about lying about lying, ok? So before you lie about lying about lying about lying about... lying... Stop lying!
Speaker 1: Why are you so sure I didn't watch this tape?
Speaker 3: You wanna know wh...? You wanna know why?
Speaker 2: Well, this is going well.
Speaker 3: Here's how I know you didn't watch the tape, ok? If you had seen what was on this tape, believe me, you would have some comments. Alright, now remember, I got paid a lot of money for this and it only aired in Japan.
Speaker 3: And that's how I know you didn't watch the tape!
Speaker 1: He really is a chameleon.
Output:
1