Instructions: 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: Isn't she beautiful?
Speaker 2: Look at her, my first grandchild.
Speaker 3: What about Ben?
Speaker 2: Well of course Ben, I meant my first granddaughter. Wow.
Speaker 4: Have umm, have you thought anymore about you and Rachel?
Speaker 3: Oh well yeah, actually I was going to talk to her when you guys all came in the room.
Speaker 4: Yay! It's so exciting! Wow, you could've done that with us there.
Speaker 3: Yeah right.
Speaker 4: Oh sure okay, you can touch yourself in front of us but you can't talk to Rachel.
Speaker 3: What?! When have I ever touched myself in front of you guys?
Speaker 4: Oh please! Just before when you were asleep in the lounge! That Armenian family was watching you instead of the TV. Oh, that reminds me. That Mr. Hasmeje still has my Gameboy.
Output:
3