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! I'm Rachel. This is Phoebe. I'm the maid of honor. How do you know Monica?
Speaker 2: I was her accountant four years ago.
Speaker 1: Ohhhh!
Speaker 2: I'm very interested to find out who's been doing her taxes these last four years.
Speaker 1: That's great!
Speaker 2: So, what time is Monica supposed to get here?
Speaker 3,
Speaker 1: I don't know.
Speaker 1: Excuse us for a minute. You didn't tell her to come?!
Speaker 3: You were supposed to tell her!
Speaker 1: No I wasn't! You were supposed to tell her to come and I was supposed to bring the cake!
Speaker 3: Fine, I'll go call her.
Speaker 1: Yes! And please tell her to bring a cake!
Example Output: 1

Example Input: Speaker 1: This is contestant number sixteen, Rebecca...
Speaker 2: Hey.
Speaker 3: Oh Phoebe, listen. Well, I think we gotta go. This place is really freaking me out. I've been watching this guy over there, I don't think he came with a kid!
Speaker 2: We can't leave now! There was this one baby, Haley, who was favourite to win and she got croup, so she had to stay home! This competition just blew wide open, folks!
Speaker 3: Phoebe, I think... It's just too weird, I just saw a one year old running around with pantyhose on!
Speaker 2: Oh, I know, we should have been more prepared. It's okay. Now, the way I see it, our real competition now is Cameron. Oh my God, they just took her sweater off. Look at those arms! Hello Michelin Man.
Speaker 3: Oh, Phoebe! Come on! You know what, it's already three o'clock and they haven't even gotten to Emma's group yet. We gotta go, we got dinner!
Speaker 2: But Emma's got what it takes, she could go all the way!
Speaker 3: Phoebe, you have to calm down.
Speaker 2: Okay. Rachel, the hottest babies in the Tri-State Area are in this room right now! I overheard one of the judges say that not one of them holds a candle to Emma!
Speaker 3: Really?
Speaker 2: Yeah!
Speaker 3: You heard them say that?
Speaker 2: Yeah!
Speaker 3: All right, okay. Alright, let's give to these babies something to cry about!
Speaker 2: Good! Oh yay! Let's get down to business! Emma needs some makeup!
Speaker 3: No, what?
Speaker 2: Well, she's gonna look all washed out next to the other contestants!
Speaker 3: No Phoebe, I am not letting you put makeup on my baby!
Speaker 2: Why not!
Speaker 3: Because I already did!
Example Output: 2

Example Input: Speaker 1: Hey!
Speaker 2: How was the pediatrician?
Speaker 3: Oh, I really liked him. Yeah, it was really, really, really good.
Speaker 1: You promised you wouldn't say anything.
Speaker 3: I know. Ross still sees his pediatrician!!! I don't care!
Speaker 2: Are you serious? You still see Dr. Gettleman?
Speaker 1: He's a brilliant diagnostician!
Speaker 4: Diagnostician or boo-boo fixer?
Speaker 3: Ross, seriously! You've gotta go to an appropriate doctor.
Speaker 1: Why? Why? I know it's a little weird, but hey, he's a great doctor, okay? He knows my medical history, and every time I go in there, he makes a big deal. 'Ah look, it's my favorite patient!'
Speaker 4: Does he say that before he sticks his thermometer in your touchy?
Speaker 1: Hey, I seem to remember someone bringing his security blanket to college!
Speaker 4: That was not a security blanket! That was a wall-hanging!
Speaker 1: It didn't spend much time on the wall!!!
Example Output:
1