Teacher: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'.
Teacher: Now, understand the problem? Solve this instance: Speaker 1: Trick or treat!
Speaker 2: Gotta go! Hi! Wow! There you go!
Speaker 3: My friend Lewis told me you were giving out money.
Speaker 2: Oh yeah, we were but umm, now we've got candy.
Speaker 3: I'd rather have the money.
Speaker 2: Well, that-that's not your choice. Happy Halloween!
Speaker 3: This isn't fair.
Speaker 2: Well is it fair that all you did was put on a cape and I gotta give you free stuff?
Speaker 3: Shut up!
Speaker 2: You shut up!
Speaker 3: You can't tell me to shut up!
Speaker 2: Uh, I think I just did. And uh-oh, here it comes again. Shut up!
Speaker 4: Rach?
Speaker 2: Yeah I know-I'm good-I got it! Now wait a minute, I've got one more thing I have to say to you...oh right! Shut up!
Speaker 3: You're a mean old woman.
Speaker 2: No! Wait no! Shut up-I mean don't cry! Let me get my checkbook!
Student:
2