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 Chandler.
Speaker 2: Hey Gar!
Speaker 1: Hi sweetie. Hi, can I talk to you for a second?
Speaker 3: Yeah! Okay.
Speaker 1: You look very pretty today.
Speaker 3: Thanks! Okay.
Speaker 1: Here's the thing.
Speaker 3: Yeah?
Speaker 1: Y'know I really want to move this relationship forward.
Speaker 3: Uh-hmm.
Speaker 1: Because if you're not moving forward, y'know you're just moving backwards.
Speaker 3: No that's not true. If you're not moving forward, you're just staying still. And staying still is good. Watch this.
Speaker 1: Phoebe?
Speaker 3: Yeah?
Speaker 1: I want you to move in with me.
Speaker 3: That is so sweet. But don't you think it's a little too soon? I mean there's so much we don't know about each other.
Speaker 1: Oh. Oh-oh-okay, I get it.
Speaker 3: I just-I don't want us to jump into something we're not ready for.
Speaker 1: Uh-huh.
Speaker 3: I really don't want to mess up what we have. I'm just-I'm worried it's gonna be a big mistake.
Speaker 1: Yeah.
Speaker 3: Which is why my answer is yes!
Speaker 1: Really?!
Speaker 3: Uh-huh! I'm so...happy.
Output:
1