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: Rach, you there? 
Speaker 2: Oh my God, it's Ross. What are we gonna do? 
Speaker 3: Oh, ju-ju-just stay calm. Just be calm. For all he knows we're just hanging out together. Right? Just be nonchalant. That's not nonchalant! 
Speaker 2: No idea what it means. 
Speaker 3: Oh... okay, just hide! 
Speaker 1: Rach? 
Speaker 3: Coming! Try under the bed, try under the bed! 
Speaker 3: There's no room under the bed. 
Speaker 1: Is everything okay? 
Speaker 3: Yeah... 
Speaker 1: Hey. 
Speaker 3: Hi... 
Speaker 1: You know where Joey is? 
Speaker 3: ...I really don't... 
Speaker 1: Can I talk to you for a minute? 
Speaker 3: Yeah, sure... 
Speaker 2: I don't believe this... Have you guys been... 
Speaker 4: Shhh... This is the listening side of the wall.

SOLUTION: 3

PROBLEM: Speaker 1: Sorry I'm late, but I left late. 
Speaker 2: Okay. 
Speaker 1: So Pheebs, what is the book about? 
Speaker 2: I thought you said you read it in high school. 
Speaker 1: Well yeah, but then I remembered I started it and there was this pep rally and I was, I was on top of the pyramid but anyway-umm, what is this book about? 
Speaker 2: Okay, umm, it's this tragic love story between Cathy and Heathcliff and umm, it takes place on like these really creepy mores in England. Which I think represents the wildness of Heathcliff's character. I totally get symbolism. 
Speaker 3: How would you characterize the theme of this book, uh let's see here, Rachel Green? 
Speaker 1: Umm, well I would have to say that it's a, it's tragic love story. 
Speaker 3: Well, that's sort of a given, but yes. Anyone else? 
Speaker 1: Oh-oh-oh, symbolism! And uh, the-the uh, wildness of the mores, which I think is-is mirrored in the wildness of Heathcliff's character. 
Speaker 3: Excellent! What Rachel has shrewdly observed here... 
Speaker 2: You completely stole my answer! 
Speaker 1: Well, honey that was pretty obvious. 
Speaker 2: Well how would you know?! You didn't even read it! 
Speaker 3: What do you think? You in the blue shirt. 
Speaker 2: I think that uh, yours is a question with many answers. 
Speaker 3: Would ya care to venture one? 
Speaker 2: Would you care to venture one? 
Speaker 3: Are you just repeating what I'm saying? 
Speaker 2: Are you just repeating what I'm saying? 
Speaker 3: All right, let's move on. 
Speaker 2: Okay then.

SOLUTION: 2

PROBLEM: Speaker 1: Can you not look at me when I say this? I thought that if I could get you here, I could seduce you. 
Speaker 2: Huh. Oh, boy! Uhh, I-I don't wear suits to work, and I bought six of them from you. 
Speaker 1: Well, I'm sorry, I thought you needed them! 
Speaker 2: No, no-no, no-no, my point is that I kept coming back because, I wanted to see you. 
Speaker 1: Why?! 
Speaker 2: Because I-I like you. 
Speaker 1: You like me? 
Speaker 2: Yeah! I mean you're-you're beautiful and smart and sophisticated-a lot of this isn't based on tonight. 
Speaker 1: Yeah but-but-but you liked me! Oh my God, I can't believe this, all this time, I liked you and you liked me! 
Speaker 2: But... 
Speaker 1: Oh no-no-no don't say but! No-no, but's never good! Let's just leave it at, you like me and I like you. 
Speaker 2: Okay uh, however... 
Speaker 1: Oh, now see that's a fancy but. 
Speaker 2: My marriage like just ended, and I'm really not ready to get into anything yet. 
Speaker 1: But.... 
Speaker 2: I'm sorry, I, I just need a little time. 
Speaker 1: Okay.

SOLUTION:
1

