Detailed Instructions: 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'.
See one example below:
Problem: Speaker 1: What do you think we should do for our 10th wedding anniversary?
Speaker 2: Hm, how about we take a vacation? Somewhere sandy and warm.
Speaker 1: Well, if we're going to go out of the country, you need to be sure to renew your passport. It expired over a year ago!
Speaker 2: How about we get something expensive instead of travelling. We could get a new car.
Speaker 1: Is this your way of telling me that you want me to buy you a car?
Solution: 1
Explanation: In this dialog, there are 5 lines of speech. Three of them belong to Speaker 1 and two of them belong to Speaker 2. Therefore, Speaker 1 has the most lines in the dialog.

Problem: Speaker 1: I've missed you so much! No, I'm not gonna ask you to get back together because I know we want different things, but just to be with you one more night.
Speaker 2: I know, I want that too, but is that going to make it too hard?
Speaker 1: It can't be any harder than this... I mean, If I had known the last time I saw you would be the last time, I... I would have stopped to memorize your face, the way you move, everything about you. If I had known the last time I kissed you would have been the last time... I never would have stopped.
Speaker 3: Kiss him, you fool!!
Speaker 2: What?
Speaker 3: Didn't you hear that speech? If you don't kiss him then I will!
Speaker 2: Oh, I missed you so much!
Speaker 4: I knew you'd be here!
Speaker 1: Oh, crap!
Speaker 2: Who is this?
Speaker 1: My friend Manny. I asked him to keep me away from you.
Speaker 3: Hi, that's what I'm doing for Phoebe!
Speaker 5: Well, you are not doing a very good job!
Speaker 3: Excuse me?
Speaker 5: What's with the kissing?
Speaker 3: Hey, at least I knew where my guy was.
Speaker 5: Oh yeah yeah, thank God you were here to oversee all the kissing!
Speaker 3: You didn't hear the speech!
Speaker 5: I've heard the speech: "if he knew it was gonna be the last time he saw her... "
Speaker 3: Hey, it was very moving! You're just heartless!
Speaker 5: You're weak!
Speaker 3: You're... weird!
Speaker 5: Your pants are undone!
Speaker 3: Oh!
Speaker 5: Where did they go?
Speaker 3: Damn it!
Speaker 5: Oh we blew it. I blame myself.
Speaker 3: And I blame you too.
Solution:
3