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 is below.
Q: 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?
A: 1
Rationale: 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.
Q: Speaker 1: Hi.. how was the game?
Speaker 2: Well..
Speaker 3: WE WON!! Thank you! Yes!
Speaker 1: Fantastic! I have one question: How is that possible?
Speaker 4: Alan.
Speaker 2: He was unbelievable. He was like that-that-that Bugs Bunny cartoon where Bugs is playing all the positions, right, but instead of Bugs it was first base-Alan, second base-Alan, third base-...
Speaker 5: I mean, it-it was like, it was like he made us into a team.
Speaker 6: Yep, we sure showed those Hassidic jewellers a thing or two about softball..
Speaker 1: Can I ask you guys a question? D'you ever think that Alan is maybe.. sometimes..
Speaker 2: What?
Speaker 1: ..I dunno, a little too Alan?
Speaker 5: Well, no. That's impossible. You can never be too Alan.
Speaker 2: Yeah, it's his, uh, innate Alan-ness that-that-that we adore.
Speaker 6: I personally could have a gallon of Alan.
A:
1