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!
Speaker 2: Hey! So, how was Atlantic City?
Speaker 1: Good.
Speaker 2: Yeah?
Speaker 1: I brought you back a present.
Speaker 2: Wha-? Oh, come on. You didn't have to-saltwater taffy?! Thanks! This is interesting. You know, most people think this is made with sea water, but it's actually made with, uh, salted fresh water. That's not interesting.
Speaker 1: I think it's interesting.
Speaker 2: I do too! I missed you!
Speaker 1: I missed you, too! So, how was your week?
Speaker 2: Oh, it was good! It was good. Actually, the baby started kicking!
Speaker 1: How exciting!
Speaker 2: Yeah! I know! It was. Oh... the only sad thing is I wasn't around when it happened for the first time.
Speaker 1: Oh no.
Speaker 2: Yeah, I'm missing out on all this other stuff, too. So, Joey suggested Rachel move in with me.
Speaker 1: Yeah right!
Speaker 2: What?
Speaker 1: Joey cracks me up! It's like, 'Yeah, why don't you have your ex-wife move in with you? That wouldn't be awkward at all!'
Speaker 2: Huh...uh-huh.
Speaker 1: Huh, could you imagine. I go away for a few days, and come back, and my boyfriend is living with some woman he got pregnant!
Speaker 1: So, what'd you tell him?
Speaker 2: Just a second!
A:
1