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: Joe. How's it going?
Speaker 2: Good. Hey.
Speaker 3: Hi.
Speaker 2: Oh, so you're playing Adrienne, huh?
Speaker 3: Yes. Are you one of the retarded cousins?
Speaker 2: Oh, no. Ah, I playing your husband, Victor. I'm Joey Tribianni.
Speaker 3: Hi, nice to meet you. Kate Miller.
Speaker 2: So the ah, play's pretty great, huh?
Speaker 3: Oh, yeah. I love Jennifer Van Murray's work. She's so brilliantly incisive when it comes to deconstructing the psyche of the American middle class.
Speaker 2: Oh, forget about it. She rocks!
Speaker 3: Where do I know you from?
Speaker 2: Dr. Drake Remoray. Days of Our Lives. Voted most datable neurosurgeon by Teen Beat.
Speaker 3: No, that's not it. So, you're a soap actor? Well this must be pretty exciting for you to be in a real play, hmm?
Speaker 2: Hey, I've done plays before. I'm a serious actor.
Speaker 3: That info-mercial! For the milk carton spout thing! You're-you're-you're the guy that doesn't know how to pour milk!!
Speaker 2: See, I actually can pour milk, but I got you believing that I couldn't. Now, see, that's acting.
Speaker 3: Right, at the end, you choked on a cookie.
Speaker 2: Yeah, that was real.
Output:
2