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

Input: Consider Input: Speaker 1: I can't believe you really walk alone here! I mean, you hear such stories about New York.
Speaker 2: No, it's really not that bad. I mean, I-I for one, feel perfectly safe.
Speaker 2: Help! Help!! Help! Help!!
Speaker 1: No, no, no Ross! Ross, these are friends of mine from home. Liam, Devon, this is Ross.
Speaker 3: Hey, mate.
Speaker 4: How are ya man?
Speaker 2: Oh hey, that was a good one, huh? Help! Help!

Output: 2

Input: Consider 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!!

Output: 4

Input: Consider Input: Speaker 1: There's nothing to discuss. We're not paying for your wine cellar.
Speaker 2: You-you have to meet me in the middle here.
Speaker 3: Hey, you keep pushing me on this, my foots going to meet the middle of your ass.
Speaker 4: Dad!!
Speaker 5: What-what's going on?!
Speaker 4: Nothing, nothing. Everything's under control.
Speaker 2: You want a piece of me, sir? Is that what your saying? You want a piece of me?
Speaker 4: Okay! Okay! That's it!! Parents!! Parents!! Back away!! All right, this is our wedding day! From now on everyone gets along, and if I hear one more word. NO GRANDCHILDREN! That's right!!
Speaker 3: Okay, okay.
Speaker 2: Sorry old boy, sorry. Sorry. Sorry. I could kill you with my thumb, you know.
Speaker 5: What was all that about?
Speaker 4: It was...This disagreement over...My god. You...you look beautiful.
Speaker 5: Ohh...Oh! You were not meant to see me before the wedding. It's bad luck.
Speaker 4: You know what, I think we've had all the bad luck we're going to have.
Output: 4