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 Input:
Speaker 1: Hey, remember when I had a monkey?
Speaker 2: Yeah.
Speaker 1: Yeah, what, what was I thinking?
Speaker 3: Hey! So, what's with the 20 percent tip? Did I do something wrong?
Speaker 2: Twenty percent is a pretty generous tip Joe.
Speaker 3: Y'know what's more generous than that?! Fifty percent! Y'know what's even more generous than that?!!
Speaker 2: I see where you're goin'!
Speaker 1: What's up with the greed Joe?
Speaker 3: All right, look I'm sorry you guys, but it's just that I gotta get these new head shots made. And they're really expensive, y'know? I'm down to like three! Well, actually two 'cause one of 'em I kinda blackened in some teeth-Why did I do that?!
Speaker 1: Well isn't there something you can do to earn a little extra money? I mean, can't-can't you pick up, I don't know, an extra shift here?

Ex Output:
1

Ex Input:
Speaker 1: Okay, well, this is crazy. Can't seriously be talking about me taking one of your kids, can we?
Speaker 2: No, of course we're not.
Speaker 1: Insane.
Speaker 2: I know.
Speaker 1: Alice would never go for it, right?
Speaker 2: Oh, I don't know, she's pretty tired, too, I think we've got her onboard.
Speaker 1: Well, just you know, for argument's sake, you know, hypothetically. Which one would you be willing to give up?
Speaker 2: Huh.
Speaker 1: Frank Jr.Jr.?
Speaker 2: Oh, you'd be getting a really good one. I mean, you know, he's really funny. Like, the other day he made up this joke.
Speaker 1: Uh-huh.
Speaker 2: What's green and says "hey, I'm a frog"? A talking frog! Oh, no, you can't have him, he's too funny.
Speaker 1: Well, alright, that's fine. What about Leslie?
Speaker 2: Oh, no, no. Not Leslie. No, she's, she's the only one that knows how to burp the alphabet.
Speaker 1: Alright, so that leaves Chandler.
Speaker 2: Oh, no, no, you can't have Chandler, no. No, no. She's my little genius. I got big hopes for her. She's gonna be a doctor or a realtor..
Speaker 1: Wow, Frank. I think we just ran out of kids.
Speaker 2: Oh, I think you're right. Oh, wow. Phoebe, I don't think I can give one of them up. I mean, you know, they drive me crazy, but they're my babies.
Speaker 1: I'm sorry, Frank. I didn't realise things were so bad. You know, I'll help out more. I can - I can babysit any time you want. You name the day, and I'll be there.
Speaker 2: How about tomorrow?
Speaker 1: Well, that's not good. But you know, I can move some stuff around, and I'll be there. You and Alice just take the whole day together.
Speaker 2: You'd do that for us?
Speaker 1: Are you kidding? That's what sisters are for.
Speaker 2: Look at them! Aw. I love you so much. Oh crap, don't wake up, don't wake up!

Ex Output:
1

Ex Input:
Speaker 1: Hey Erica, c'mon in.
Speaker 2: How did you get here so fast, I just saw you in Salem?
Speaker 1: Right, they uh, they choppered me in. What's up?
Speaker 2: Ohh, and I see you're having a little party too. Is she here, huh, huh?
Speaker 1: Who?
Speaker 2: Sabrina. I know about you two. I saw you today kissing in the doctor's lounge.
Speaker 1: It's not what you think, that was...
Speaker 2: You told me I was the only one.
Speaker 1: Alright look, that's it. I don't think we should see each other anymore, alright. Look, I know I should have told you this a long time ago but I am not Drake Remore, OK. I'm not even a doctor, I'm an actor. I just pretend to be a doctor.
Speaker 2: Oh my God. Do the people at the hospital know about this?
Speaker 1: Somebody wanna help me out here?

Ex Output:
1