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: Ok, so it's just because it was my table, I have to buy a new one?
Speaker 2: That's the rule.
Speaker 1: What rule? There's no rule, if anything, you owe me a table!
Speaker 2: How'd you get to that?
Speaker 1: Well, I believe the piece of furniture was fine until your little breakfast adventure with Angela Delvecchio
Speaker 2: You knew about that?
Speaker 1: Well, let's just say the impressions you made in the butter left little to the imagination.
Speaker 2: Ok, ok, How about if we split it?
Speaker 1: What do you mean, like, buy it together?
Speaker 2: Yeah
Speaker 1: You think we're ready for something like that?
Speaker 2: Why not?
Speaker 1: Well, it's a pretty big commitment, I mean, what if one of us wants to move out?
Speaker 2: Why, are you moving out?
Speaker 1: I'm not moving out.
Speaker 2: You'd tell me if you were moving out right
Speaker 1: Yeah, yeah, it's just that with my last roommate Kip...
Speaker 2: Aw, I know all about Kip!
Speaker 1: It's just that we bought a hibachi together, and then he ran off and got married, and things got pretty ugly.
Speaker 2: Well, let me ask you something, was Kip a better roommate than me?
Speaker 1: Aw, don't do that
Solution:
1