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: Hey. Happy Thanksgiving!
Speaker 2: God, your hair sure is different!
Speaker 3: Yeah, we were just talking about that. I can't believe how stupid we used to look.
Speaker 1: So uh, where's Monica?
Speaker 4: She's upstairs. Monica! Come down! Everyone's here! Ross, Rachel, and the boy who hates Thanksgiving.
Speaker 5: Hi, Chandler.
Speaker 3: Oh my God!
Speaker 5: What-what's the matter? Is there, is there something on my dress?
Speaker 3: You just, you look so different! Terrific! That dress! That body!
Speaker 1: Dude!
Speaker 3: Sorry!
Speaker 4: Yes, yes Monica is thin. It's wonderful. But what we really want to hear about is Ross's new girlfriend.
Speaker 1: Oh mom! Okay, umm, her name is Carol. And she's really pretty. And smart. And uh, she's-she's on the lacrosse team and the golf team. Can you believe it? She plays for both teams!
Speaker 5: So Chandler, I guess I'll see you at dinner.
Speaker 2: Dude!
Speaker 3: Sorry.
[A]: 3

[Q]: Speaker 1: Honey, you gotta talk to her.
Speaker 2: I can't! Y'know? You guys don't know what it's like to put yourself out there like that and just get shot down.
Speaker 3: I don't know what that's like?! Up until I was 25 I thought the only response to, "I love you," was, "Oh crap!"
Speaker 1: Hello? No rejection? I got shot down at fat camp! Boy, kids are mean when they're hungry.
Speaker 2: All right so, so what do I do?
Speaker 1: This is Rachel. I mean, what are you gonna do, never going to talk to her again? I mean I know it's weird, it's awkward, but you gotta at least try.
Speaker 2: Yeah. Okay.
[A]: 1

[Q]: Speaker 1: That's her! Okay, come on!
Speaker 2: Hi!
Speaker 3: Hi.
Speaker 2: So which one of you lucky boys is Chandler?
Speaker 1: Uh, that-that's-that's me!
Speaker 3: That's me.
Speaker 1: Joey Tribbiani, a big fan.
Speaker 2: So is that a bedroom?
Speaker 3: Yeah, yeah right over there.
Speaker 2: All right, whenever you're ready.
Speaker 3: That was weird.
Speaker 1: Why-why would she go in the bedroom?
Speaker 2: I'm waiting.
Speaker 3: So she's a...
Speaker 1: Yeah, that's one naked hooker!
[A]:
1