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: Barry?
Speaker 2: Come in.
Speaker 1: Are you sure?
Speaker 2: Yeah! It's fine, it's fine. Robbie's gonna be here for hours.
Speaker 3: Huh?!
Speaker 2: So, how ya doin?
Speaker 1: I'm- uh- I'm okay... You look great!
Speaker 2: Yeah, well..
Speaker 4: Dr. Farber, Jason Greenstein's gagging.
Speaker 2: Be right there. Be back in a sec.
Speaker 1: I dumped him.
Speaker 3: Okay.
Example Output: 2

Example Input: Speaker 1: Oh! Hi!
Speaker 2: Hi!
Speaker 1: Umm, Chandler, Monica, this is Don.
Speaker 3: Oh, hello. Hello.
Speaker 1: Soul mate.
Speaker 4: What?
Speaker 1: Soul mate.
Speaker 2: So, what have you guys been doing?
Speaker 3: Well, we just had a terrible lunch today at Reattica. What is with all the sun-dried tomatoes at that place?
Speaker 2: I know! What is this, 1985?!
Speaker 3: That's exactly what I said. Phoebe, isn't that strange.
Speaker 2: Not really.
Speaker 4: What's wrong with sun-dried tomatoes? On a barbecue chicken pizza? No?
Speaker 2: So Don, what-what other restaurants do you like?
Speaker 3: Well, Octavio, 27&7-Oh! And there's this great little place, Alessandro's.
Speaker 2: Oh my God! That's my restaurant, I'm the chef there.
Speaker 3: You're kidding me!
Speaker 2: No!
Speaker 3: Your food is fantastic! Wow, I really want to talk to you about your menu, once I get some coffees first. Um, anyone want any?
Speaker 2: Oh, I'd like a latte. Oh y'know what? If you're gonna talk about me, I'm gonna go with you.
Speaker 4: What are you doing?!
Speaker 1: Nothing! I swear to God I didn't know you guys would be here! And the good news is you didn't believe in soul mates. So...
Speaker 4: I believe in tall, handsome strangers who hit on my wife!
Speaker 1: They're just talking, and y'know what? Just because I think they're soul mates doesn't mean anything's gonna happen.
Speaker 2: Phoebe, good work.
Speaker 1: Yeah?
Speaker 2: Yeah! Oh he's great, I love him.
Speaker 1: Don't worry, we'll find you someone else.
Example Output: 2

Example Input: Speaker 1: Ooh! How was Kathy's play?
Speaker 2: Well, Kathy gets half-naked and simulates sex with a real good lookin' guy.
Speaker 3: Yeah, it's like someone literally wrote down my worst nightmare and then charged me $32 to see it!
Speaker 1: That's a good idea for a business!
Speaker 3: I'm totally screwed. Okay, they are gonna be hot and heavy on stage every night, and then they're gonna go to their cast parties and he's gonna try to undermine me. Y'know it'll be like, "So where's your boyfriend, what's-his-name, Chester?" And she'll go, "No-no-no, it's Chandler." And he'll go, "Whatever. Ha-ha-ha-ha!"
Speaker 4: That-that is a good trick.
Speaker 3: All right, look, look, what am I gonna do?
Speaker 4: Chandler, look they're actors. They're there to do a job, just 'cause they work together, doesn't mean they're gonna get together. I mean just 'cause it happened with Susan Sarandon and Tim Robbins, it doesn't mean it's gonna happen with them.
Speaker 2: Oh-oh, Alec Baldwin and Kim Basinger.
Speaker 4: Tom Cruise and Nicole Kidman.
Speaker 2: Yeah.
Speaker 1: Hey, Mel Gibson and Clint Eastwood.
Speaker 2: They're not a couple!
Speaker 1: Oh-okay, I get the game now.
Speaker 4: Okay look, look, let me ask you a question, when they were doing it on stage, was it like really hot?
Speaker 2: Oh yeah!
Speaker 4: Well okay, so then you're fine. The rule is when two actors are actually doing it off-stage all the sexual tension between them is gone. Okay? So as long as it's hot onstage you got nothing to worry about. It's when the heat goes away, that's when you're in trouble.
Speaker 3: Really?
Speaker 4: Look, you guys have been to every play I've ever been in, have I ever had chemistry on stage?
Speaker 2: No.
Speaker 4: Noooo!!
Example Output:
4