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: I'm really gonna miss this apartment. Y'know, Ben-Ben took his first steps right over there.
Speaker 2: Ohh. Hey, remember when I ran into this thing and it kinda knocked me out a little?
Speaker 1: I loved this place! To tell you the truth, I wish I didn't have to move.
Speaker 2: Uhh, are you saying that you're not entirely happy about this?
Speaker 1: Well, I mean if uh, if Emily gave me a choice...
Speaker 2: You do have a choice!! Ross, why are you listening to her?! Are you, are you crazy?!
Speaker 1: Why?
Speaker 2: It's not right what Emily wants you to do! She is totally-Owww!! Stop pinching me! Look, now you guys said I only had to keep my mouth shut as long as Ross was happy, right? Well he just told me that he's not entirely happy.
Speaker 1: What's going on?
Speaker 2: We all hate Emily!
Speaker 3: Nooo!!
Speaker 4: No, Ross, we do not hate Emily. We-we just, we just think that you're having to sacrifice a whole lot to make her happy.
Speaker 2: Yeah!
Speaker 5: Look, we just think that maybe she's being a little unreasonable.
Speaker 2: Yes! Yes! Unreasonable!
Speaker 1: Unreasonable? How about we have this conversation when one of you guys gets married! You have no idea what it takes to make a marriage work! All right, it's about compromise! Do you always like it? No! Do you do it? Yes! Because it's not all laughing, happy, candy in the sky, drinking coffee at Central Perk all the time! It's real life, okay? It's what grown-ups do!
Speaker 3: I think he's right. You guys hang out at the coffeehouse way too much.
[A]: 2

[Q]: Speaker 1: Is that Joey?! Let me talk to him!
Speaker 2: No! Because he didn't believe in my movie! Which is a big mistake because it is real! Real!
Speaker 3: Hey! Tribbiani! Get back to work! Break time's over!
Speaker 4: Who was that?
Speaker 2: Uhh, my stunt double. Yeah, and y'know, he's getting a little too familiar for my tastes.
Speaker 1: Y'know what? I have been trying to apologize to him all week! If he's not gonna let me do it on the phone, I'm gonna go down there and do it in person.
Speaker 2: Uhh Pheebs, I heard that. Can you put him on?
Speaker 4: Yeah!
Speaker 1: Hey!
Speaker 2: Don't come out here!
Speaker 1: No-no-no-no, I've supported you one hundred percent and I want to prove that to you in person!
Speaker 2: I got that! I forgive ya! Don't come out here!
Speaker 1: Forgive me? You haven't been taking my calls in a week!
Speaker 2: Well, I'm totally over it Chandler. Friends forever! Don't come out here!
Speaker 5: Would you mind doing a picture with us?
Speaker 1: Uh, what was that?
Speaker 2: Uh, Entertainment Tonight. Yeah, okay so, good talking to ya and don't come out here. All right.
[A]: 2

[Q]: Speaker 1: Oh, Ross, Mon, is it okay if I bring someone to your parent's anniversary party?
Speaker 2: Yeah.
Speaker 3: Sure. Yeah.
Speaker 4: So, who's the guy?
Speaker 1: Well, his name is Parker and I met him at the drycleaners.
Speaker 5: Oooh, did he put a little starch in your bloomers? Who said that?
Speaker 1: Yeah, he's really great though. He has this incredible zest for life, and he treats me like a queen, except at night when he treats me like the naughty girl I am.
Speaker 2: Oh, by the way. Would it be okay if I gave the toast to mom and dad this year?
Speaker 3: Uh, yeah, you sure you want to after what happened at their 20th?
Speaker 2: Yeah, I'd really like to.
Speaker 3: Okay, hopefully this time mom won't boo you.
Speaker 2: Yes! Every year Ross makes the toast, and it's always really moving, and always makes them cry. Well this year I'm going to make them cry.
Speaker 5: And you wonder why Ross is their favorite?
Speaker 2: No! Really! Any time Ross makes a toast everyone cries, and hugs him, and pats him on the back and they all come up to me and say, "God, your brother." Know what they'll say this year? "God, you"
Speaker 4: Well I can promise you, at least one person will be crying. I'm an actor, and any actor worth himself can cry on cue.
Speaker 2: Really you can do that?
Speaker 4: Are you kidding me? Watch! Well I can't do it with you guys watching me!
[A]:
2