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: I know, I know. Hello.
Speaker 2: Hi. I'm Rob Dohnen.
Speaker 1: Hi Rob Dohnen.
Speaker 2: I don't know anything about music, but I think you're really, really great.
Speaker 1: Oh, wow.
Speaker 2: Anyway, I schedule performers for the childrens libraries around the city and I was just thinking, have you ever thought about playing your songs for kids?
Speaker 1: Oh, I would love to have kids. . . you're, you're the, you're, me play the songs that I will write for them.
Output:
1