Given the task definition, example input & output, solve the new input case.
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'.
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?
Output: 1
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.

New input case for you: Speaker 1: Hey.
Speaker 2: Hey. Listen, I want you to know how sorry I am...
Speaker 1: That's okay. Chandler's the one I'm mad at.
Speaker 2: Well, I'm still sorry. Is he here?
Speaker 1: In the box.
Speaker 2: Chandler?
Speaker 3: Oh, he-he can't talk right now.
Speaker 2: Why not? What's going on?
Speaker 3: He's just trying to show Joey how much he means to him.
Speaker 2: By being in a box?
Speaker 4: Joey, had reasons.
Speaker 3: They were threefold.
Speaker 2: Oh. Well uh, you not being able to talk may make this easier. Listen umm... Listen I don't wanna be someone who comes between two best friends. I just, I can't stand seeing what this is doing to you guys, and I don't wanna be the cause of that. So, I don't think we can see each other anymore. I'm gonna go to my mom's in Chicago, I'm gonna stay there for awhile. I think this could've be something really amazing, but y'know this is probably for the best. Y'know? I'm gonna miss you. Good-bye, Chandler.
Output:
2