TASK DEFINITION: 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: What are you doing? 
Speaker 2: The key's stuck in the lock. 
Speaker 1: I can fix it. Hold on. 
Speaker 2: It still doesn't work. 
Speaker 1: I'm not finished. 
Speaker 2: Oh. 
Speaker 2: Nice job Joe! You're quite the craftsmen.

SOLUTION: 2

PROBLEM: Speaker 1: The word you're looking for is 'Anyway'... 
Speaker 2: All right, you ready? 
Speaker 3: No. No, no, I'm not ready! How can I be ready? "Hey, Rach! You ready to jump out the airplane without your parachute?" Come on, I can't do this! 
Speaker 2: You can, I know you can! 
Speaker 3: I don't think so.

SOLUTION: 2

PROBLEM: Speaker 1: So what're you going to do? 
Speaker 2: I don't know. That's the thing. I don't know what I want to do. I just know I'm not going to figure it out working there. 
Speaker 3: Oooh! I have something you can do! I have this new massage client... Steve? Anyway, he's opening up a restaurant and he's looking for a head chef. 
Speaker 4: Um... hi there. 
Speaker 3: Hi! Oh, yeah, no, I know. You're a chef. I know, and I thought of you first, but um, Chandler's the one who needs a job right now, so.... 
Speaker 2: Yeah... I just don't have that much cheffing experience. Unless it's an all-toast restaurant. 
Speaker 3: Yeah, yeah! 
Speaker 4: Well, what kind of food is he looking for? 
Speaker 3: Well, he wants to do some ecclectic, so he's looking for someone who can, you know, create the entire menu. 
Speaker 4: Oh my God! 
Speaker 3: Yeah, I know! So, what do you think? 
Speaker 2: Thanks, Phoebe. But I just don't really see myself in a big white hat. 
Speaker 3: OK. Oh Monica! Guess what!

SOLUTION:
3

