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: Chandler darling! Look, my date has finally arrived. I'd like you to meet Dennis Phillips.
Speaker 2: Congratulations.
Speaker 3: Thank you.
Speaker 1: Dennis is a dear old friend and a fantastic lover.
Speaker 3: Bravo Dennis thanks for pleasing my mother so.
Speaker 2: Oh, I'm so sorry I missed the ceremony, I was stuck at auditions.
Speaker 1: Oh yes, Dennis is directing a new Broadway show.
Speaker 4: I don't believe we've met, Joey Tribbiani.
Speaker 2: Dennis Phillips
Speaker 4: Wow, I've admired your work for years. You-you've done some really amazing stuff.
Speaker 2: Oh, thank you. Well if you'll excuse me, I'm gonna go get myself a drink. Be back in a moment.
Output:
2