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

[Q]: Speaker 1: I'm telling you, something's wrong! My brother does not stay out all night.
Speaker 2: Maybe we should check the trash chute.
Speaker 3: Ross couldn't fit down the trash chute.
Speaker 2: That's right, he almost could. Which is exactly how I got stuck there.
[A]: 2

[Q]: Speaker 1: I can't believe I'm going to lose this job!
Speaker 2: Oh I'm so sorry man! Is there anything I can do?
Speaker 1: Yeah! Help me get this mini-fridge past the security guard.
Speaker 3: Hey Joey, I want to talk to you.
Speaker 1: Yeah? Well, I don't want to talk to you Wayne! I hate you! You ruined my life! Oh, Chandler, Wayne. Wayne, Chandler.
Speaker 2: Hi, how are ya?
Speaker 3: Joey, Joey, I-I-I'll g-get you your job back if you help me out.
Speaker 1: Why should I help you?!
Speaker 2: The reason he just said.
Speaker 1: What do you need?
Speaker 3: I-I-I saw you on stage talking to that beautiful woman, y'know Sarah?
Speaker 1: Yeah?
Speaker 3: I wish I could talk to her.
Speaker 1: What are you in love with her or something?
Speaker 3: Yeah. Her. All of them. Anyone.
Speaker 2: Yeah, I've been there my friend.
Speaker 3: Listen, I-I guarantee you keep your job if you can teach me how to talk to women like you do.
Speaker 1: Oh wow Wayne, it's not really something you can teach y'know? It's pretty much something you're born with if you--You-you can teach it! I'll show you right how to do it.
[A]: 1

[Q]: 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!
[A]:
2