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: Woah. 
Speaker 2: Foxy lady. 
Speaker 3: Where you goin'? 
Speaker 4: Um, I'm gonna go meet Duncan, he's skating tonight at the Garden, he's in the Capades. 
Speaker 2: The Ice Capades? 
Speaker 5: No, no the gravel capades. Yeah, the turns aren't as fast but when Snoopy falls. . . funny. 
Speaker 6: I can't believe you're dressing up for him. I mean, you're just, you're setting yourself up all over again. 
Speaker 4: OK, no. For your information I'm going to see him so I can put all those feeling behind me. OK, and the reason I'm dressed like this is because I think it's nice to look nice for your gay husband.

SOLUTION: 2

PROBLEM: Speaker 1: ...How long was I in there? 
Speaker 2: I'm just cleaning up. 
Speaker 1: D'ya.. uh.. Do you need any help? 
Speaker 2: Uh.. okay, sure! Thanks! 
Speaker 1: Anyway.. um.. So, you- uh- you nervous about Barry tomorrow? 
Speaker 2: Oh.. a little.. 
Speaker 1: Mm-hmm.. 
Speaker 2: A lot. 
Speaker 1: Mm. 
Speaker 2: So, got any advice? Y'know, as someone who's recently been- dumped? 
Speaker 1: Well, you may wanna steer clear of the word 'dumped'. Chances are he's gonna be this, this broken shell of a man, y'know, so you should try not to look too terrific, I know it'll be hard. Or, y'know, uh, hey!, I'll go down there, and I'll give Barry back his ring, and you can go with Carol and Susan to the OB/GYN... 
Speaker 2: Oh, you've got Carol tomorrow.. When did it get so complicated? 
Speaker 1: Got me. 
Speaker 2: Remember when we were in high school together? 
Speaker 1: Yeah. 
Speaker 2: I mean, didn't you think you were just gonna meet someone, fall in love- and that'd be it?..Ross? 
Speaker 1: Yes, yes! 
Speaker 2: Oh! Man, I never thought I'd be here.. 
Speaker 1: Me either...

SOLUTION: 1

PROBLEM: Speaker 1: I can't believe you really walk alone here! I mean, you hear such stories about New York. 
Speaker 2: No, it's really not that bad. I mean, I-I for one, feel perfectly safe. 
Speaker 2: Help! Help!! Help! Help!! 
Speaker 1: No, no, no Ross! Ross, these are friends of mine from home. Liam, Devon, this is Ross. 
Speaker 3: Hey, mate. 
Speaker 4: How are ya man? 
Speaker 2: Oh hey, that was a good one, huh? Help! Help!

SOLUTION:
2

