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: Hey, have you guys seen Monica?
Speaker 2: Uh, actually I think she went to the salon.
Speaker 1: Oh yeah, oh, she went to the salon alright...
Speaker 3: Check it out!
Speaker 1: Who's day just got better? CHANDLER!
Speaker 4: Hey!... aaaaaahhhh!
Speaker 3: What do you think?
Speaker 4: I think.... I think I can see your scalp.
Speaker 3: Don't you just love it?
Speaker 2: Ye... Yeah... Yeah... You got shellfish in your head.
Speaker 5: It's so... something... You go girlfriend!
Speaker 2: You've never said that in your life, have you?
Speaker 5: Not once.
Speaker 2: I thought so.
Speaker 3: And listen to this...
Speaker 4: What d'ya know... It's a treat for the eyes and the ears.
Output:
2