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: Hello Michael.
Speaker 2: Joseph.
Speaker 1: May I have a word with you, please?
Speaker 2: This is... great...
Speaker 1: Have a seat. Last night, I tried to welcome you into my family... and instead, you disrespect me... I cannot allow this.
Speaker 2: Are you rehearsing for some really bad mafia movie?
Speaker 1: More back talk. And yes, I may be borrowing a few lines from my recent unsuccessful audition for "Family Honor 2: Thissa Time Itsa Personal."
Speaker 2: Joey, I kinda have a lot to do today, what do you want?
Speaker 1: I want you to take this seriously! Phoebe is very very important to me, ok? And I wanna make sure that you are gonna take care of her.
Speaker 2: Joe, I love Phoebe. She's the single most important thing in my life. I'd die before I let anything happen to her.
Speaker 1: That's what I wanted to hear! Because she's family, ok, and now you're gonna be family, and there is nothing more important in the whole world, than family.
Speaker 2: That must have been one lousy movie.
Speaker 1: That was ME!
[EX A]: 1

[EX Q]: Speaker 1: Okay! Okay! Listen to what Sean McMahon wrote in my yearbook senior year, "Dear Rach, you're such a good person." Not girl! Person!
Speaker 2: Rach, I think you're reading a little too much into it.
Speaker 1: "Dear Rach, you're a great person. Sorry about your tiney-wienie."
Speaker 2: Look, what do you want me to do? Do you want me to call everyone in the entire school and tell them it wasn't true?!
Speaker 1: Yes!
Speaker 3: Could you also tell them I'm skinny now?
Speaker 4: Oh! Me too!
Speaker 2: Well look-look I'm not calling anybody! Okay? It was like a million years ago!
Speaker 1: I don't care how long ago it was! You told people that I was half and half! Y'know what? I just want to point out I never did anything to hurt you in high school.
Speaker 4: That's not totally true.
Speaker 1: What?
Speaker 2: What?
Speaker 4: Well you-you did start that rumor about Ross making out with Mrs. Altman, our 50-year-old librarian.
Speaker 2: How did you know that?!!!!
Speaker 4: It's true?!!
Speaker 2: No.
[EX A]: 2

[EX Q]: Speaker 1: Five! Four! Three! Applause!
Speaker 2: Yeah! Welcome, it is Soap Opera week here on Pyramid, let's meet our contestants. First, Gene Lester is a database specialist, he's gonna be playing with "Days of Our Life's" star Joey Tribbiani!
Speaker 3: I know it could be intimidating for regular people to be around celebrities but... relax, I'm just like you! Only better looking and richer.
Speaker 4: ...should be playing with the star of "General Hospital" Leslie Charleson. Welcome everybody. Good luck to all of you. Let's play Pyramid. All right? Now... we flipped a coin before the show, Gene, you won the toss, so you're gonna start. Which category would you like?
Speaker 5: I'll take "You crossed the line".
Speaker 4: You crossed the line. Joey, describe for Gene these things that have lines. Give me 20 seconds on the clock, please. Ready, go!
Speaker 3: Uhm... ok. It's a store, like a supermarket. Oh! I see-I see what I did. Yeah, ok, ok, uhm... I'm writing in my...
Speaker 5: Diary.
Speaker 3: Noo, more like a notebook... Damn it! Oh, if I'm building an house, the plan isn't called the 'shmoo-print'... Can't say that either? Woha... hey... In high school, I once had sex with a girl right in the middle of the...
Speaker 5: Cafeteria.
Speaker 3: Yeah! But that is not what they're looking for. OOOH!
[EX A]:
3