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: Ugh, I cannot wait to ask her out!
Speaker 2: Wait a minute...Joey. Joey you can't ask her out, she's your roommate. It-it'll be way too complicated.
Speaker 3: Yeah, yeah man don't do it. I mean if you date her, then-then-then I can't date her.
Speaker 4: All right, think about it. Now remember when you were going out with that girl Donna and you guys broke up. Remember how horrible it was when you guys bumped into each other at the supermarket?
Speaker 1: Oh God, yeah.
Speaker 4: Now imagine you live at the supermarket.
Speaker 1: Okay!
Speaker 4: No-no
Speaker 1: Oh, Oh, you're right! I don't want that. I can't date her!
Speaker 2: Yeah and you better watch the flirting too, cause you know, in such close quarters, it could be trouble.
Speaker 1: Well, that's gonna be tough Mon. I mean it's hard for me to be around an attractive woman and not flirt.
Speaker 2: Hmm, well you're around me all the time and you don't flirt.
Speaker 1: You a little sad about that sweetheart?

Ex Output:
1

Ex Input:
Speaker 1: Hey! What do you guys think about this. Ross. The Divorce-Force.
Speaker 2: Better.
Speaker 3: Very cool.
Speaker 1: Hey Phoebs...You know I'm I'm really glad you came to talk to me the other day and I hope I was a little helpful.
Speaker 2: Oh yeah you were helpful! Yeah...No, thanks you.
Speaker 1: Good, good. Yeah coz the more I thought about it, the more I realized I don't think marriage is necessarily the right path for you.
Speaker 2: What do you mean?
Speaker 1: Well, I know the other day in the coffeehouse you were caught up in the whole soccer mom thing? but...is that really you? I mean can you honestly picture yourself in a Volvo?
Speaker 2: They are awfully boxy.
Speaker 1: I don't know...you'd be so bored with marriage. I mean it's so...normal.
Speaker 2: Uh huh.

Ex Output:
1

Ex 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?!!

Ex Output:
1