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, what's-what's going on?!
Speaker 2: Well, I think, I think Ross knows about me and Monica.
Speaker 3: Dude! He's right there!
Speaker 4: I thought you were my best friend, this is my sister! My best friend and my sister! I-I cannot believe this!
Speaker 2: Look, we're not just messing around! I love her. Okay, I'm in love with her.
Speaker 5: I'm so sorry that you had to find out this way. I'm sorry, but it's true, I love him too.
Speaker 4: My best friend and my sister! I cannot believe this. You guys probably wanna get some hugs in too, huh? Big news!
Speaker 1: Awww, no, it's okay, we've actually known for a while.
Speaker 4: What? What? What?! You guys knew? You all knew and you didn't tell me?!!
Speaker 1: Well, Ross, we were worried about you. We didn't know how you were going to react.
Speaker 4: You were worried about me? You didn't know how I was going to react?
Speaker 3: Okay, all right, whew! What do you say we all clear out of here and let these two lovebirds get back down to business? Hey-hey-hey, I-I-I'm just talking here, he-he's the one doing your sister.
Output:
4