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: Hi! 
Speaker 2: Hi. 
Speaker 1: Sorry about that, but I couldn't get that lock to work on the door. 
Speaker 2: Yeah, Joey kinda disabled it when I moved in. 
Speaker 1: You must be Rachel, I'm Erin. 
Speaker 2: Hi. 
Speaker 3: Hi. I don't mean this to sound like high school, but did he say anything about me? 
Speaker 2: Would you like some pancakes?
Output:
2