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 input: 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?
Example output: 1
Example 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.
Q: Speaker 1: I can't believe this! This is Emma's first Thanksgiving!
Speaker 2: No, it's not!
Speaker 1: It's not? When was she born?
Speaker 3: Well, personally I think it's great you're giving yourself a break.
Speaker 2: Thank you, Pheebs!
Speaker 3: Sure. It's just as well... I mean, last year wasn't very good. I think she's losing her touch.
Speaker 2: What? You are way off, lady!
Speaker 3: Am I? Really? Am I? Well, why don't you cook Thanksgiving dinner and prove me wrong! Well, think about it, think about it, you'll be trying to top than you did last year. You'd be in competition... with yourself.
Speaker 2: That's my favourite kind! Okay, we are doing this!
Speaker 4: Don't let yourself get manipulated this way!
Speaker 2: Hey, stay out of this, Chandler! This is between me... and ME!
Speaker 4: We are supposed to make these decisions together! Did you not watch the Doctor Phil I taped for you?
A:
2