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'.
One example: Speaker 1: What do you think we should do for our 10th wedding anniversary?
Speaker 2: Hm, how about we take a vacation? Somewhere sandy and warm.
Speaker 1: Well, if we're going to go out of the country, you need to be sure to renew your passport. It expired over a year ago!
Speaker 2: How about we get something expensive instead of travelling. We could get a new car.
Speaker 1: Is this your way of telling me that you want me to buy you a car?
Solution is here: 1
Explanation: In this dialog, there are 5 lines of speech. Three of them belong to Speaker 1 and two of them belong to Speaker 2. Therefore, Speaker 1 has the most lines in the dialog.

Now, solve this: Speaker 1: Ok, so it's a tie again, 41 to 41.
Speaker 2: Ok, look! Enough is enough!
Speaker 3: No, I have just to have two more points to beat him!
Speaker 2: Monica, that was also true an hour ago! I mean, please, look at you! Your hand is blistered, you can barely stand, your hair is inexplicable! Ok, you've already proven you are just as good as he is, now we've missed our dinner reservations, so now let's just go upstairs, order room service, take a shower and shave your head!
Speaker 3: I can't just walk away! I've put in four hours!
Speaker 2: But...
Speaker 3: Look! You knew this about me when you married me! You agreed to take me in sickness and in health. Well, this is my sickness!
Speaker 2: What about the obsessive cleaning?
Speaker 3: That's just good sense!
Solution:
2