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'.
Input: 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!
Output:
3