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: Where's Chip, why isn't he here yet? 
Speaker 2: He'll be here OK, take a chill pill. 
Speaker 1: I can't go to my own prom without a date, I can't, it's too late. 
Speaker 3: If you're not going then I don't want to go either. 
Speaker 4: Oh, I'm gonna kick Chip's ass. 
Speaker 5: I have a wonderful idea. You should take Rachel to the prom. 
Speaker 4: Doubtful. 
Speaker 5: Jack, give me that. Talk to your son. 
Speaker 6: Your mother's right. Take her, you can wear my tux. 
Speaker 4: Dad, she won't want to go with me. 
Speaker 6: Of course she would, you're a college man. 
Speaker 4: I don't know. 
Speaker 6: Well, c'mon. Don't ya want to find out? 
Speaker 1: I can't believe I don't get to go to my own prom, this is so harsh. 
Speaker 4: OK. Hold my board. 
Speaker 6: Atta boy.
Solution:
4