Detailed Instructions: 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'.
Problem:Speaker 1: Well, I feel like a snack! 
Speaker 2: Do you want some shortbread? Eh that's Scottish like you are. 
Speaker 1: Oh no thanks. I don't like any thing from my Scottish heritage. 
Speaker 3: What?! 
Speaker 1: Well it's just my entire family was run out of Scotland by...Vikings. Anyway, lots of bad memories. 
Speaker 3: Oh well, it sounds to me like your family is ready to uh, rediscover its Scottish roots. 
Speaker 2: No! No-no they're not. They're still very angry! But y'know Chandler is also half-Swedish. You know what the Swedish people are famous for? Sitting down and being quiet. 
Speaker 3: Well yeah-yeah the Scottish history is so much more... 
Speaker 2: You can not play bagpipes at the wedding!! 
Speaker 3: How did you know about that?! 
Speaker 1: We heard you play all the way from your apartment! 
Speaker 3: Were you the ones called the cops?! 
Speaker 1: That's not really important right now. What is important is; while we appreciate the gesture, we just don't feel bagpipes are appropriate for our wedding. 
Speaker 3: Why not? 
Speaker 1: Because we hate them. 
Speaker 3: Come on that's not fair! I mean you haven't even heard me play! 
Speaker 1: We have heard you play. 
Speaker 3: No, you've heard my practice. Okay? Just-just give me a chance to perform for you and then decide whatever you want. And I'm not going to tell you what song I'm gonna play either. But uh, let's just say when it's over I'll bet there will be a we bit o' celebration.
Solution:
3