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: 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: Monica, Monica, look at this lamp. Is this tacky or what? We have to have this. 
Speaker 2: Rache, I think we have enough regular lamps. 
Speaker 1: What? Come on, it's not like I'm asking for this girly clock or anything, which, by the way, I also think is very cool. 
Speaker 2: It doesn't go with any of my stuff. 
Speaker 1: Well, what about my stuff? 
Speaker 2: You don't have any stuff. 
Speaker 1: You still think of it as your apartment, don't you? 
Speaker 2: No. 
Speaker 1: Yes you do. You think of it as your apartment, and I'm just somebody who rents a room. 
Speaker 2: Mmmmm. 
Speaker 1: Ok, while you "mmm" on it for awhile, I'm gonna go find a place for my new lamp.

A: 1
****
Q: Speaker 1: I'm so sorry. Please, stop freaking out. 
Speaker 2: I'm not freaking out. Why would I be freaking out? A woman named Heldi called and said we were getting married, but that happens everyday. 
Speaker 1: Honey, we were at this beautiful place, and I-I-I just put our names down for fun! I mean, what's the harm in that? 
Speaker 2: Right here! 
Speaker 1: Chandler, please don't think I was trying to pressure you. Phoebe and Rachel... 
Speaker 2: Phoebe and Rachel! So the people that knew about our wedding before me were you, Phoebe and Rachel, Heldi, and apparently some band called Starlight Magic 7 who are available by the way! 
Speaker 1: It was a mistake. Please don't take this to mean anything, because it doesn't. 
Speaker 2: Okay. 
Speaker 1: Really? 
Speaker 2: Yes, if it really doesn't mean anything, because you know that I'm just not ready... 
Speaker 1: I know! I know. 
Speaker 2: Okay. 
Speaker 1: I'm gonna go tell Joey that that you're back. I was really worried about you. 
Speaker 3: Hey, did she buy it? 
Speaker 2: Totally. 
Speaker 3: So did Heldi show you the place? 
Speaker 2: Yeah, it's beautiful. 
Speaker 3: I can't believe you're gonna ask Monica to marry you! 
Speaker 2: I know.

A:
2
****
