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: Hey, you guys! Guess what? Barry and Mindy are getting a divorce!
Speaker 2: Oh my God!
Speaker 3: Wow!
Speaker 4: What is the matter with you?!
Speaker 3: No! Barry and Mindy.
Speaker 4: Oh sorry, I hear divorce I immediately go to Ross. Who-who's Barry and Mindy?
Speaker 1: Barry was the guy that I was almost married and Mindy was my best friend.
Speaker 4: Ohh-oh, wasn't he cheating on you with her?
Speaker 1: Yeah, but that just means that he was falling asleep on top of her instead of me.
Speaker 2: Why did they get divorced?
Speaker 1: Well, apparently she caught him cheating on her with someone else. Isn't that sad? God, could you imagine if I actually married him?! I mean how different would my life be?
[A]: 1

[Q]: Speaker 1: All right girls, and man. Let's see your final tallies. Ohhhh, Debbie, 321 boxes of cookies, Very nice.
Speaker 2: Not nice enough.
Speaker 1: Charla, 278. Sorry, dear, but still good.
Speaker 2: Good for a scrud.
Speaker 1: Oh, yes Elizabeth. Ah, 871.
Speaker 2: That's crap!! Sister Brown Bird. Good going.
Speaker 1: Who's next?
Speaker 2: Hi there!
Speaker 1: Hi. And batting for Sarah, Ross Geller, 872. Although, it looks like you bought an awful lot of cookies yourself.
Speaker 2: Um, that is because my doctor says that I have a very serious.... nuget.... Diffency.
Speaker 3: Tell us what happened, Brown Bird Ross.
Speaker 2: Well, I lost. Some little girl loaned her uniform to her nineteen year old sister, who went down to the U.S.S. Nimitz, and sold over 2,000 boxes.
[A]: 2

[Q]: Speaker 1,
Speaker 2: Hey!
Speaker 3: Listen! You have to help me pick a dress 'cause I'm meeting Mike's parents tonight!
Speaker 2: Wow, the boyfriend's parents! That's a big step.
Speaker 3: Really? That hadn't occurred to me.
Speaker 2: They just gonna love you, just be yourself.
Speaker 3: They live on the upper east side on Park Avenue!
Speaker 1: Oh yeah, she can't be herself.
Speaker 3: Okay, so... all right... Which dress? You can say "neither".
Speaker 1,
Speaker 2: Oh God, neither!
Speaker 2: I'm sorry honey, but we're gonna take you shopping. It's gonna be fine.
Speaker 1: Yeah, totally! You are in such good hands. And I'm so good with meeting parents. With the father, you know, you want to flirt a little bit, but not in a gross way. Just kind of like: "Oh Mr. Pincer, I can see where Wallis gets his good looks..."
Speaker 2: You went out with Wallis Pincer?
Speaker 1: Uh, he took the SAT's for me.
Speaker 2: I knew you didn't get a 1400!
Speaker 1: Sssh yeah, well, duh! I mean...
Speaker 3: So... now... What about with Mike's mom?
Speaker 1: Oh, with the mother, just... just constantly tell her how amazing her son is. Take it from me, moms love me. Ross's mom one time actually said I'm like the daughter that she never had.
Speaker 2:She said WHAT?
Speaker 3:That's she's like the daughter she never had. Listen!
[A]:
3