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: 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?
Solution is here: 1
Explanation: 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.

Now, solve this: Speaker 1: See? Eh, wasn't that fun?
Speaker 2: We have got to move!
Speaker 3: I knew it!! Y'know, you're not so quiet yourself, missy!
Speaker 4: And I'm blah? Listen, the only thing more boring than watching modern dance is having to listen to you talk about it, "Oh Chandler, I just lost myself in the moment."
Speaker 2: Y'know, I know you're talking, but all I hear is, "Blah. Blah. Blah-blah-blah."
Speaker 3: All right! You and me! Let's go! Right now!
Speaker 1: All right! All right! Enough! Enough! Enough!! Enough! You two go home! I-I-I gotta talk to Janine!
Speaker 4: Y'know I think you can take her.
Speaker 3: You'd better hope I don't see you in the hallway!!
Speaker 1: All right, uh, we've got a little bit of a problem here. These people are my friends; you can't treat them that way.
Speaker 2: They said stuff to me too, y'know!
Speaker 1: I know! I know! And I'm going to talk to them about it. They mean so much to me. They... They're like my family. If you guys are gonna be fighting all the time, I-I... I don't think we can be together. It just, it just can't work. It can't. I'm very upset.
Speaker 2: Okay. Okay. Would, would it help if I went over and apologized?
Speaker 1: Yeah! Yeah! That would be very helpful! Yeah.
Speaker 3: What did I tell you about the hall?!
Speaker 2: I was just coming over here to apologize for my behavior! I'd really like it if we could be friends.
Speaker 3: Well, I know that would make Joey happy, so, I would like that too.
Speaker 2: Great.
Speaker 3: Now come on. Well, I'm glad we worked things out.
Speaker 2: Me too.
Speaker 3: Okay.
Speaker 2: I'll see you.
Speaker 3: Bye.
Speaker 2: Or I'll hear you.
Speaker 3: That's it big girl! Come on!
Speaker 2: Wait!
Speaker 3: You'd better run!
Solution:
2