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'.
One example: 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 is here: 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.

Now, solve this: Speaker 1: Ross, hi. It's me. I just got back on the plane. And I just feel awful. That is so not how I wanted things to end with us. It's just that I wasn't expecting to see you, and all of a sudden you're there and saying these things... And... And now I'm just sitting here and thinking of all the stuff I should have said, and I didn't. I mean, I didn't even get to tell you that I love you too. Because of course I do. I love you. I love you. I love you. What am I doing? I love you! Oh, I've gotta see you. I've gotta get off this plane.
Speaker 2: Oh my God!
Speaker 1: Excuse me?
Speaker 3: Miss? Please, sit down!
Speaker 1: I'm sorry. I'm really sorry, but I need to get off the plane, okay? I need to tell someone that I love love them.
Speaker 3: Miss, I can't let you off the plane.
Speaker 2: Let her off the plane!
Speaker 3: I am afraid you are gonna have to take a seat.
Speaker 1: Oh, please, miss, you don't understand!
Speaker 2: Try to understand!
Speaker 1: Oh, come on, miss, isn't there any way that you can just let me off...
Speaker 2: No! No! Oh my God. Did she get off the plane? Did she get off the plane?
Speaker 1: I got off the plane.
Speaker 2: You got off the plane.
Speaker 1: I do love you.
Speaker 2: I love you too, and I'm never letting you go again.
Speaker 1: Okay. 'Cause this is where I wanna be, okay? No more messing around. I don't wanna mess this up again.
Speaker 2: Me neither, okay? We are - we're done being stupid.
Speaker 1: Okay. You and me, alright? This is it.
Speaker 2: This is it. Unless we're on a break.
Speaker 2: Don't make jokes now.
Solution:
1