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: Oh, it's so romantic to send people off on their honeymoon.
Speaker 2: Y'know, Monica and Chandler are married. Ross and Rachel are having a baby. Maybe you and I should do something.
Speaker 1: All in good time my love. All in good time. Oh shoot! I left my guitar in their apartment. Well you can let me in later.
Speaker 2: I don't have a key, they took mine to give to you.
Speaker 1: What?! They took mine to give to you!
Speaker 2: Why would they take away our keys?
Speaker 1: Maybe they don't trust us.

Ex Output:
1

Ex Input:
Speaker 1: Hey Phoebe. Hey, tell me what you think. All right. The house next door to the one that we're buying in Westchester? Just went on the market. I wanna take a look at it, but Chandler doesn't.
Speaker 2: We close escrow tomorrow, so seeing another house can only confuse us, and we're easily confused. We're not very bright.
Speaker 1: But what if it is better than ours? Should we at least look?
Speaker 2: What do you think Pheebs?
Speaker 3: Well, I think that shirt makes you look like you should work at a Baskin Robbins... Anyway... Hey, isn't Joey's agent Estelle Leonard?
Speaker 2: Yeah.
Speaker 3: She died.
Speaker 2: You're kidding!
Speaker 1: That's terrible!
Speaker 3: Yeah, last Saturday. Wow! She was the first black man to fly solo across the Atlantic. Oh, wait a minute, I read the wrong one.
Speaker 2: Oh yeah?
Speaker 3: Yeah, she was just an agent.
Speaker 1: Joey's gonna be *so* upset.
Speaker 2: I know. *He* always wanted to be the first black man to cross the Atlantic.
Speaker 3: Well, we cannot tell Joey about this. He's already flipping out about everything that's changing. This will push him over the edge.
Speaker 1: Seriously, you don't think we should tell him?
Speaker 3: Well, not for a little while. Let's just give him a few days to get used to everything else.
Speaker 1: What if he reads it in the paper?
Speaker 2: Unless Snoopy says it to Charlie Brown, I think we're okay.

Ex Output:
2

Ex Input:
Speaker 1: Kim, hi.
Speaker 2: Hi Rachel. Ohh, I've been meaning to ask you. Have you seen the new Ralph Lauren sheets? Ohh, what am I thinking. Of course you have.
Speaker 1: Okay..Okay.. Look. I'm sorry that I lied to you before. You were right. Ralph and I were an item but were not anymore.
Speaker 2: Oh, really?
Speaker 1: Yeah, he dumped me. He said, "Rachel, I can't do this. Even though you are a very, very, very beautiful women. I can't do this. I'm married and I'm sorry." And then I don't know why but he said, "and you will never get promoted. Especially not above Kim, who is an integral cog in the Ralph Lauren machine."
Speaker 2: You expect me to believe..Hi Ralph.
Speaker 3: Hi Kim.
Speaker 2: Oh my God. He just gave you the coldest look I have ever seen. It's like he hates you. Then it is true.
Speaker 1: Of course it's true and it hurts so bad.
Speaker 2: Ohh honey come here. Ohh it will be ok. We've all been there.
Speaker 1: You and Ralph?
Speaker 2: Kenny the copyboy.

Ex Output:
2