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: Hi Rachel!
Speaker 2: Hi!
Speaker 1: Come on in.
Speaker 1: It's really nice to see you again.
Speaker 2: Thank you.
Speaker 1: Oh Rachel, uhh...
Speaker 2: What?
Speaker 1: Just ah...
Speaker 2: Excuse me?
Speaker 1: Here let me...
Speaker 2: Wh-whoa! All right, okay-okay, I see, I see what's going on here! Now listen, look-look, I'm sorry if I gave you the wrong impression, but I am not some hussy who will just sleep around to get ahead! Now even though I, hey-hey-hey, even though I kissed you, that does not give you the right to demand sex from me. I do not want, this job that bad. Good day, sir.
Speaker 2: Ugh, you will not believe what that sleaze-ball from Ralph Lauren did too me!
Speaker 2: Okay-okay that-that's amazing. How did you know that?
Speaker 3: You got ink on your lip.
Speaker 2: Oh. Ohhhhhhhhh....
Solution:
2