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 guys! I was at the library all morning and I already finished my five pages for today!
Speaker 2: Yay!
Speaker 3: Great! Now, we can go to the Ranger game! Last night!
Speaker 1: No dude, Ross tore up the tickets!
Speaker 2: I guess when you don't have so many distractions, it's easier for you to focus. Huh?
Speaker 3: Yeah or also when you don't have somebody breathing down your neck ALL THE LIVE LONG DAY!!
Speaker 1: Yeah, well, that's fine, but the important thing is that I finished it. And uh, I think it's really good, but y'know it'd really help me is if I could hear it. So would you guys read it for me?
Speaker 3: All right.
Speaker 2: All right.
Speaker 1: Okay. "It's a typical New York City apartment. Two guys are hanging out." Ross
Speaker 2: Hey man.
Speaker 3: What is up?
Speaker 2: About yesterday, I was really wrong. I am sorry.
Speaker 3: No, it was me. I'm sorry. I over reacted.
Speaker 2: Maybe it was both of us, but we had our best friend's interest... But we had our best friend's interest at heart.
Speaker 3: Could I be more sorry.
Speaker 2: I don't know, I'm one sorry polentologist. All right Joey, we get it. I'm sorry.
Speaker 3: I'm sorry too.
Speaker 1: Oh no! No-no, keep reading! The good part's coming up. Keep going.
Speaker 2: I am sorry, Chandler.
Speaker 3: I am sorry, Ross.
Speaker 1: A handsome man enters. Hey! How's it going guys? I don't know what you two were talking about, but I'd like to say thanks to both of you. You, you wouldn't let me give up on myself, and you well you co-created Fireball. The end.
Speaker 3: This took you all day?!
Speaker 1: No-no, this only took five minutes. I spent the rest of the day coming up with new, Ultimate Fireball. Ha-ha!
A:
3