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: Hi Monica!
Speaker 2: Hey Mon!
Speaker 3: Hey Mon!
Speaker 1: Oh my God, has she slept at all?
Speaker 2: Nope.
Speaker 3: No, it's been three nights in a row.
Speaker 2: Yeah, she finally stopped crying yesterday, but then she found one of Richard's cigar butts out on the terrace, so.
Speaker 1: Oh, okay that explains it. I got a call at two in the morning, but all I could hear was, like, this high squeaky sound, so I thought okay its like a mouse or a opossum. But then I realized where would a mouse or a opossum get the money to make the phone call.
[A]: 1

[Q]: Speaker 1: Oh! Hi!
Speaker 2: Hi!
Speaker 1: Umm, Chandler, Monica, this is Don.
Speaker 3: Oh, hello. Hello.
Speaker 1: Soul mate.
Speaker 4: What?
Speaker 1: Soul mate.
Speaker 2: So, what have you guys been doing?
Speaker 3: Well, we just had a terrible lunch today at Reattica. What is with all the sun-dried tomatoes at that place?
Speaker 2: I know! What is this, 1985?!
Speaker 3: That's exactly what I said. Phoebe, isn't that strange.
Speaker 2: Not really.
Speaker 4: What's wrong with sun-dried tomatoes? On a barbecue chicken pizza? No?
Speaker 2: So Don, what-what other restaurants do you like?
Speaker 3: Well, Octavio, 27&7-Oh! And there's this great little place, Alessandro's.
Speaker 2: Oh my God! That's my restaurant, I'm the chef there.
Speaker 3: You're kidding me!
Speaker 2: No!
Speaker 3: Your food is fantastic! Wow, I really want to talk to you about your menu, once I get some coffees first. Um, anyone want any?
Speaker 2: Oh, I'd like a latte. Oh y'know what? If you're gonna talk about me, I'm gonna go with you.
Speaker 4: What are you doing?!
Speaker 1: Nothing! I swear to God I didn't know you guys would be here! And the good news is you didn't believe in soul mates. So...
Speaker 4: I believe in tall, handsome strangers who hit on my wife!
Speaker 1: They're just talking, and y'know what? Just because I think they're soul mates doesn't mean anything's gonna happen.
Speaker 2: Phoebe, good work.
Speaker 1: Yeah?
Speaker 2: Yeah! Oh he's great, I love him.
Speaker 1: Don't worry, we'll find you someone else.
[A]: 2

[Q]: Speaker 1: There she is. And over there, that's the other one. This is Mr. Buddy Boyle, Mr. Heckles' attorney. He'd like to talk to you.
Speaker 2: What can we do for you?
Speaker 3: All right, kids. Here's the deal. According to my client's will, he wants to leave all his earthly possessions to "the noisy girls in the apartment above mine".
Speaker 2: Well, what about his family?
Speaker 3: He didn't have any.
Speaker 4: Ok, so let's talk money.
Speaker 3: All right, there was none. Let's talk signing. You be noisy girl number one, you be noisy girl number two.
Speaker 2: I can't believe that this whole time we thought he hated us. I mean, isn't it amazing how much you can touch someone's life, without even knowing it?...Would you look at this dump? He hated us. This is his final revenge!
[A]:
2