Definition: 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'.
Input: Speaker 1: Ooh that is definitely Chandler, Joey, or Ross. Or-or Rachel!
Speaker 2: Hello? It's Joey. I'm so glad you called! Chandler told me what happened. Y'know he's really upset about it.
Speaker 3: Not as upset as he's gonna be when he finds out what I did with his sweater vests!
Speaker 2: What did you do to his sweater vests?
Speaker 3: Let's just say there's a well-dressed pack of dogs in Ohio. Hey Monica listen is-is Phoebe there? I gotta ask her something about the car.
Speaker 2: Yeah, she's here. Hold on a second.
Speaker 1: Hey, dude!
Speaker 3: Hey Pheebs! Listen, this wooden box keeps sliding out from under the seat. What-what is it?
Speaker 1: Oh that's my grandma. And thanks Joey she's having a really great time.
Speaker 4: Is that Joey? Is that Joey? Let me talk to him! I wanna talk to him!
Speaker 1: Okay Joey? Chandler's here, he was wondering... Okay, I guess he ran out of change.
Output:
1