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: What 'cha doing Mon?
Speaker 2: I'm making a list of all the things that are most likely to go wrong at the wedding. Now, that way I can be prepared.
Speaker 3: What are they?
Speaker 2: Well, so far I have uh, my bride's maids dresses won't get picked up, my veil gets lost, or I don't have my something blue.
Speaker 1: Hey! Those are all the things I'm responsible for!
Speaker 2: I had to go with the odds Rach.
Output:
2