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

[Q]: Speaker 1: You can not do this.
Speaker 2: Do what, do what?
Speaker 1: Roger wants to take her out tomorrow night.
Speaker 2: No! Phoebes! Don't you remember why you dumped the guy?
Speaker 3: 'Cause he was creepy, and mean, and a little frightening... alright, still, it's nice to have a date on Valentine's Day!
Speaker 1: But Phoebe, you can go out with a creepy guy any night of the year. I know I do.
Speaker 2: Ok, ok, Roger was creepy, but he was nothing compared to Pete Carney.
Speaker 1: Which one was Pete Carney?
Speaker 2: Pete the Weeper? Remember that guy who used to cry every time we had sex. "Was it good for you?"
Speaker 1: Yeah, well, I'll take a little crying any day over Howard-the-"I-win"-guy. "I win! I win!" I went out with the guy for two months-I didn't get to win once.
Speaker 2: How did we end up with these jerks? We're good people!
Speaker 1: I don't know. Maybe we're some kinda magnets.
Speaker 3: I know I am. That's why I can't wear a digital watch.
Speaker 1: There's more beer, right?
Speaker 3: Oh! You know my friend Abby who shaves her head? She said that if you want to break the bad boyfriend cycle, you can do like a cleansing ritual.
Speaker 2: Pheebes, this woman is voluntarily bald.
Speaker 3: Yeah. So, we can do it tomorrow night, you guys. It's Valentine's Day. It's perfect.
Speaker 1: Ok, well, what kind of ritual?
Speaker 3: Ok. We can, um, we can burn the stuff they gave us.
Speaker 2: Or?
Speaker 3: Or...or we can chant and dance around naked, you know, with sticks.
Speaker 1: Burning's good.
Speaker 2: Burning's good. Yeah, I got stuff to burn.
[A]: 1

[Q]: 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.
[A]: 1

[Q]: Speaker 1: Woah.
Speaker 2: Foxy lady.
Speaker 3: Where you goin'?
Speaker 4: Um, I'm gonna go meet Duncan, he's skating tonight at the Garden, he's in the Capades.
Speaker 2: The Ice Capades?
Speaker 5: No, no the gravel capades. Yeah, the turns aren't as fast but when Snoopy falls. . . funny.
Speaker 6: I can't believe you're dressing up for him. I mean, you're just, you're setting yourself up all over again.
Speaker 4: OK, no. For your information I'm going to see him so I can put all those feeling behind me. OK, and the reason I'm dressed like this is because I think it's nice to look nice for your gay husband.
[A]:
2