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: Joseph Francis Tribbiani are you home yet?!!
Speaker 2: Umm, I think he's still out. What's wrong?
Speaker 1: Well, I'll tell you Rachel Karen Green, I had plans with Joey tonight and he left me this note.
Speaker 2: "Pheebs, can't make it, got a date. Talk to you later. Big Daddy." Big Daddy?
Speaker 1: Oh that's a nickname we were trying out.
Speaker 3: Hey, y'know what nickname never caught on? The Ross-A-Tron!
Speaker 4: Hey!
Speaker 1: Oh! Here's Joseph Francis!
Speaker 4: Oh-Wha-Ho! What are you middle naming me for?! I left you a note!
Speaker 1: So what?! That doesn't give you the right to ditch me!
Speaker 4: Hey, you can cancel plans with friends if there is the possibility for sex!
Speaker 3: Phoebe he's right, that is the rule.
Speaker 1: I don't accept this rule. When me make plans, I expect you to show up. Okay, I can't just be a way to kill time 'til you meet someone better! Y'know boyfriends and girlfriends come and go, but this is for life!
Speaker 4: Wow! I'm so sorry; I had no idea it would bother you this much.
Speaker 1: Well, it does.
Speaker 4: Okay, can I-can I make it up to you? Huh? I'm sorry. How about uh, dinner tomorrow night?! I'll pay for myself!
Speaker 1: Okay, you wore me down.
Speaker 3: Hey Joe, while you're over there how about another beer for the Ross-A-Tron?
Speaker 4: The Ross-Is that back?!!
Output:
1