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: Ewww! Oh! It's the Mattress King!
Speaker 2: Booo!!
Speaker 3: Don't look honey. Change the channel! Change the channel!
Speaker 4: Wait! Wait! I wanna see this. After I divorce him, half of that kingdom is gonna be mine.
Speaker 5: 'Despair fills the mattress showroom. My kingdom is suddenly without a queen. I'm so depressed I'm going to slash... my prices!! Check it out! Four ninety-nine for a pillow top queen set! I'm going medieval on prices!
Speaker 3: What a wank!
Speaker 4: Oh, I cannot believe he's using our divorce to sell mattresses.
Speaker 6: I know! And four ninety-nine for a pillow top queen set, who cares about the divorce, those babies will sell themselves. And I'm appalled for you by the way.
Speaker 5: I'm close. I'm cheap. I'm the king.
A:
3