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: Hey Joey, what would you do if someone that you slept with told you that she was pregnant?
Speaker 2: Who called here? Did she sound blond? Huh? Did-did-did she have an accent? I gotta make a call! I shoulda never walked into that Sunglass Hut!
Speaker 1: Oh Joey! Joey! No, it's not you! You didn't get anybody pregnant!
Speaker 2: Oh. Why would you scare me like that? What the hell is going on? Is somebody pregnant?
Speaker 3: Oh yeah. That's me.
Speaker 2: Oh my God Pheebs! You're gonna have a baby?
Speaker 3: Yes. Yes I am. Oh my God, I'm gonna have a baby!
Speaker 2: Whoa, wait a minute. Who's the father?
Speaker 3: You don't know him. It's not important. He wants nothing to do with me or the baby.
Speaker 2: Well who is this guy?! Huh? Who is he? 'Cause I will track him down and kick his ass!
Speaker 3: David Lynn.
Speaker 2: David Lynn! David Lynn! David Lynn!!
Speaker 4: Who's David Lynn?
Speaker 3: Oh some guy from my gym. A little annoying.
A:
2