You will be given a definition of a task first, then some input of the task.
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'.

Speaker 1: Hey good scene man.
Speaker 2: Hey you too!
Speaker 1: Alright.
Speaker 2: What? You weren't in it.
Speaker 3: Oh!
Speaker 2: Oh sorry. Uh-uh, Kash?
Speaker 4: Yes?
Speaker 2: This is my friend Rachel. Rachel, Kash, Kash, Rachel.
Speaker 3: Hi.
Speaker 4: Hey! How come I haven't seen you here before?
Speaker 3: Well, Joey probably thinks I'll just embarrass him. Y'know, he thinks I'm some kind of a soap opera nut-Which I'm not! I'm not. Although I do know that your uh, your favorite ice cream flavor is butter pecan. And uh, and that your-your dog's name is Wally. Well look at that, I'm just stroking your arm.
Speaker 2: Here we go! Here we go!
Speaker 3: Oh, we're leaving. Bye Kash.
Speaker 4: Bye.
Speaker 3: Say hi to Wally.
Output:
2