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: Monica, there are no words... There are no words! This should not be this hard!
Speaker 2: All right, uh... Oh hey, you've done this before Ross, well what did you say when you made up your vows?
Speaker 3: Well with Carol, I promised never to love another woman until the day I die. She made no such promise.
Speaker 1: I'm so pathetic! Monica knows what she wants to say! You should've seen her. Writing, writing, writing!
Output:
1