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: Oh, hey, Monica, we've got a question.
Speaker 2: Alright, for the bizillionth time, yes I see other women in shower at the gym, and no I don't look.
Speaker 1: No, not that one. We're trying to figure out who to bring to the Knicks game tonight, we have an extra ticket.
Speaker 3: Yeah, Ross can't go so it's between my friend Eric Prower who has breath issues and Dan with the poking. 'Did you see that play? Do you want some more beer? Is that Spike Lee?'
Speaker 2: Ok. Hey, why don't you ask Richard?
Speaker 1: Ok, uh, hey Richard, if you had an extra ticket to the Knicks game and you had to choose between a friend who smells and one who bruises you who would you pick?
Speaker 4: Wow. Well being a huge Knicks fan myself, I think you should take someone who's a huge Knicks fan.
Speaker 3: Ok, that's Eric.
Speaker 4: Glad to be of help. Matches.
Speaker 2: I meant, why don't you take Richard to the game? What?
Speaker 1: I don't know.
Speaker 2: C'mon. Keeps his fingers to himself and he's always minty fresh.
Speaker 3: I don't know, Richard's really nice and everything, uh, it's just that we don't know him really well, ya know, and plus he's, ya know, old -er than some people, but, uh, younger than some buildings.
Speaker 2: So what, he's a little older, big deal, I mean he's important to me. Ya know if you ask him, he might take you on his Jag.
Speaker 1: How do we say yes now and make it seem like we're not doin' it just to ride in the cool car?
Speaker 3: Ok, this could be tough.
Speaker 1: Ok ok ok ok. Monica, we'll bring him, but only if he takes the Jaguar.
Speaker 3: Ooh, you almost had it.
Example Output: 1

Example Input: Speaker 1: Joseph Francis Tribbiani are you home yet?!!
Speaker 2: Umm, I think he's still out. What's wrong?
Speaker 1: Well, I'll tell you Rachel Karen Green, I had plans with Joey tonight and he left me this note.
Speaker 2: "Pheebs, can't make it, got a date. Talk to you later. Big Daddy." Big Daddy?
Speaker 1: Oh that's a nickname we were trying out.
Speaker 3: Hey, y'know what nickname never caught on? The Ross-A-Tron!
Speaker 4: Hey!
Speaker 1: Oh! Here's Joseph Francis!
Speaker 4: Oh-Wha-Ho! What are you middle naming me for?! I left you a note!
Speaker 1: So what?! That doesn't give you the right to ditch me!
Speaker 4: Hey, you can cancel plans with friends if there is the possibility for sex!
Speaker 3: Phoebe he's right, that is the rule.
Speaker 1: I don't accept this rule. When me make plans, I expect you to show up. Okay, I can't just be a way to kill time 'til you meet someone better! Y'know boyfriends and girlfriends come and go, but this is for life!
Speaker 4: Wow! I'm so sorry; I had no idea it would bother you this much.
Speaker 1: Well, it does.
Speaker 4: Okay, can I-can I make it up to you? Huh? I'm sorry. How about uh, dinner tomorrow night?! I'll pay for myself!
Speaker 1: Okay, you wore me down.
Speaker 3: Hey Joe, while you're over there how about another beer for the Ross-A-Tron?
Speaker 4: The Ross-Is that back?!!
Example Output: 1

Example Input: Speaker 1: Aww!
Speaker 2: You ok?
Speaker 1: No, no, no. Honey, I'm ok. Shake it off! Oh, no! No shaking, no shaking! Ooh! Ooh! Oh my God! I can't play!
Speaker 3: So you forfeit?
Speaker 4: Mike wins?
Speaker 1: I can't believe it! I lost!
Speaker 2: No, you didn't.
Speaker 1: What?
Speaker 2: Because I'm gonna play for ya.
Speaker 4: You can't do that!
Speaker 3: Oh, that's ok. I don't care which of them I beat.
Speaker 4: Ok, we're taking that paddle home, mister.
Speaker 1: Honey, you don't have to do this.
Speaker 2: Yes, I do. Now, I may not understand why you have to win so badly, but if it's important to you then it's important to me, because I love you.
Speaker 1: But... you suck!
Speaker 2: You're welcome, sweetheart.
Speaker 2: All right Mike, let's get this over with. Sudden death. Whoever wins this point, wins.
Speaker 3: Ok!
Speaker 1: Oh my God! You're good!
Speaker 4: It's like watching porn!
Speaker 2: And that's... how... it's done!
Speaker 1: Oh my God. That was so amazing! When did you. Hold on! I almost forgot loser! When did you stop sucking?
Speaker 2: I never sucked, I actually didn't want you to know how good I was!
Speaker 1: Why?
Speaker 2: I don't know.
Speaker 1: This is so great! Now we can enter into doubles tournaments!
Speaker 2: That's why!
Example Output:
1