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'.

Example Input: Speaker 1: Hi!
Speaker 2: Hi, Rach.
Speaker 3: Hi!
Speaker 4: Hey.
Speaker 5: Hey.
Speaker 1: Look, I know you guys heard about the whole thing with me and Ross but y'know, I've been obsessing about it all day and I'd just love not to talk about it. All right?
Speaker 2: I-I-I don't know if this falls under this category, but uh, Ross is right back there.
Speaker 1: That's not Ross!
Speaker 4: Oh no! Not that guy! He does look like him though.
Speaker 3: Okay, Ross is in the bathroom.
Speaker 1: Oh my God, its happening. It's already started. I'm Kip.
Speaker 2: Hey, you're not Kip!
Speaker 1: Do you even know who Kip is?
Speaker 2: Who cares? You're Rachel! Who's Kip?
Speaker 3: Kip, my old roommate, y'know we all used to hang out together.
Speaker 2: Oh, that poor bastard.
Speaker 1: See? Yeah, you told me the story. He and Monica dated when they broke up they couldn't even be in the same room together and you all promised that you would stay his friend and what happened? He got phased out!
Speaker 5: You're not gonna be phased out!
Speaker 1: Well, of course I am! It's not gonna happen to Ross! He's your brother. He's your old college roommate. Ugh, it was just a matter of time before someone had to leave the group. I just always assumed Phoebe would be the one to go.
Speaker 4: Ehh!!
Speaker 1: Honey, come on! You live far away! You're not related. You lift right out.
Example Output: 1

Example Input: Speaker 1: How sad are we?
Speaker 2: Yeah, I know.
Speaker 3: Y'know what? We're not sad, we're not sad, we're just not 21 anymore. Y'know? I'm 29 years old, damnit! And I want to sit in a comfortable chair, and watch television and go to bed at a reasonable hour!
Speaker 2,
Speaker 1: Yeah!
Speaker 2: Yeah! And I like to hang out in a quiet place where I can talk to my friends.
Speaker 3,
Speaker 1: Yeah!
Speaker 1: And so what if I like to go home, throw on some Kenny G, and take a bath!
Speaker 2: We're 29, we're not women.
Example Output: 2

Example 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.
Example Output:
2