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

[EX Q]: Speaker 1: Uh-oh-okay. Uh-oh-okay. I know what you all are thinking. But Chandler is in Yemen! I'm a young woman! I have needs! I can't wait forever!
Speaker 2: Yeah! No that's what I was thinking.
Speaker 1: So I'm asking you please, take a moment before you judge me.
Speaker 3: Oh, nobody's judging you.
Speaker 1: Oh! Okay! You, Mister Right Place at the Right Time, call me!
Speaker 4: Okay, look, I-I know what you guys are going to say...
Speaker 3: You two will have very hairy children.
Speaker 4: Okay, I didn't know you would say that.
Speaker 2: Ross! Janice?!
Speaker 5: All right, hold on! Hold on. Hold on. This is Ross, okay? He's our friend. He obviously went crazy. He obviously lost his mind.
Speaker 4: Look, I didn't lose my mind! Okay, Janice and I have a lot in common! We've-we've both been divorced. We-we both have kids.
Speaker 3: So are you actually gonna see her again?
Speaker 5: Phoebe! Don't put ideas in his head!
Speaker 4: I am gonna see her again.
Speaker 5: Damnit Phoebe!!
[EX A]: 4

[EX Q]: Speaker 1: Hey Joey, what would you do if someone that you slept with told you that she was pregnant?
Speaker 2: Who called here? Did she sound blond? Huh? Did-did-did she have an accent? I gotta make a call! I shoulda never walked into that Sunglass Hut!
Speaker 1: Oh Joey! Joey! No, it's not you! You didn't get anybody pregnant!
Speaker 2: Oh. Why would you scare me like that? What the hell is going on? Is somebody pregnant?
Speaker 3: Oh yeah. That's me.
Speaker 2: Oh my God Pheebs! You're gonna have a baby?
Speaker 3: Yes. Yes I am. Oh my God, I'm gonna have a baby!
Speaker 2: Whoa, wait a minute. Who's the father?
Speaker 3: You don't know him. It's not important. He wants nothing to do with me or the baby.
Speaker 2: Well who is this guy?! Huh? Who is he? 'Cause I will track him down and kick his ass!
Speaker 3: David Lynn.
Speaker 2: David Lynn! David Lynn! David Lynn!!
Speaker 4: Who's David Lynn?
Speaker 3: Oh some guy from my gym. A little annoying.
[EX A]: 2

[EX Q]: Speaker 1: Hi Rachel!
Speaker 2: Hi!
Speaker 1: Come on in.
Speaker 1: It's really nice to see you again.
Speaker 2: Thank you.
Speaker 1: Oh Rachel, uhh...
Speaker 2: What?
Speaker 1: Just ah...
Speaker 2: Excuse me?
Speaker 1: Here let me...
Speaker 2: Wh-whoa! All right, okay-okay, I see, I see what's going on here! Now listen, look-look, I'm sorry if I gave you the wrong impression, but I am not some hussy who will just sleep around to get ahead! Now even though I, hey-hey-hey, even though I kissed you, that does not give you the right to demand sex from me. I do not want, this job that bad. Good day, sir.
Speaker 2: Ugh, you will not believe what that sleaze-ball from Ralph Lauren did too me!
Speaker 2: Okay-okay that-that's amazing. How did you know that?
Speaker 3: You got ink on your lip.
Speaker 2: Oh. Ohhhhhhhhh....
[EX A]:
2