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 Q]: Speaker 1: I didn't know you knew about that.
Speaker 2: Well, I did and it hurt. That's when I wrote the song: "Betrayal In The Common Room".
Speaker 1: Man... I... I'm sorry.
Speaker 2: Look it was a lo-o-ong time ago.
Speaker 1: So, eh. I made out with Adrienne and you made out with Missy. Well I guess we're even.
Speaker 2: Hmm mmmhm..
Speaker 1: We are even, right?
Speaker 2: Just one more thing. I was so pissed at you that night that I wanted to get back at you. So I thought, who does Ross like the more than anybody?
[EX A]: 1

[EX Q]: Speaker 1: Rach, you there?
Speaker 2: Oh my God, it's Ross. What are we gonna do?
Speaker 3: Oh, ju-ju-just stay calm. Just be calm. For all he knows we're just hanging out together. Right? Just be nonchalant. That's not nonchalant!
Speaker 2: No idea what it means.
Speaker 3: Oh... okay, just hide!
Speaker 1: Rach?
Speaker 3: Coming! Try under the bed, try under the bed!
Speaker 3: There's no room under the bed.
Speaker 1: Is everything okay?
Speaker 3: Yeah...
Speaker 1: Hey.
Speaker 3: Hi...
Speaker 1: You know where Joey is?
Speaker 3: ...I really don't...
Speaker 1: Can I talk to you for a minute?
Speaker 3: Yeah, sure...
Speaker 2: I don't believe this... Have you guys been...
Speaker 4: Shhh... This is the listening side of the wall.
[EX A]: 3

[EX Q]: Speaker 1: Hey-hey-hey-hey, I can help you decide who should do it! Yeah, we could have like uh, like an audition and see how you'd handle maid of honor type situations.
Speaker 2: What are you talking about?
Speaker 1: Like when I want a job, I go to an audition and if I'm the best of the people they see, they give me the part.
Speaker 2: Okay, so after this audition, who decides who gets it?
Speaker 1: Oh uh, me and Ross can be the judges.
Speaker 2: Well, it's better than us deciding.
Speaker 3: Oh, come on! This is crazy! Can't we just flip a coin?!
Speaker 2: No! Coins hate me!
Speaker 3: Okay. Okay fine, y'know what? We will let Ross and Joey decide. Hiiiii, Ross! Sweetie.
Speaker 2: Hey there, you handsome thing.
Speaker 4: Wow, this cologne really is every bit as good as Georgio.
[EX A]:
2