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'.

[EX Q]: Speaker 1: Hey! So, uhh, Amanda just-just dropped me off. Yeah, that's one of the things I love about her, she's...uh, she's old enough to drive. So uhh, I guess you're not going to mom and dad's tonight?
Speaker 2: No, sorry.
Speaker 3: Well where's Amanda?
Speaker 2: Hey Rach, could you get me some cough drops?
Speaker 3: I mean y'know, I'm thinking. You could bring her, and you guys could go up to your old room, and not make out.
Speaker 2: Ross, cough drops, please?
Speaker 1: At least I know she's not going out with me to get into R rated movies.
Speaker 3: Why don't you just marry her? Oh no, wait a minute you can't, I'm sorry I forgot, she's not a lesbian.
Speaker 1: You see Amanda and I have a very special...
Speaker 2: You have nothing! You're not even going out! You're her baby sitter! You have a 12-year-old girl's job!
Speaker 3: Ohh, that is soo sad.
Speaker 2: And what are you laughing at, Miss 'My-keg-sucking-boyfriend-is-stealing-from-me!'
[EX A]: 2

[EX Q]: Speaker 1: All right, okay, this is great, uh, Chandler, you get behind the desk. And-and when she comes in hopefully, she won't recognise you because, well, why would she? Uh, okay, and then you buzz Ross and I. You be Mr. Gonzalez, and I'll be uh, Mr. Wong.
Speaker 2: Diverse.
Speaker 3: Did anybody call for security?
Speaker 4: You be cool.
Speaker 3: Okay, which one of you guys is Gunther Central-Perk? Hey, Joey?
Speaker 2: Where's my ring? My dead grandmother's wedding ring? Where is it? Where is it?
Speaker 4: Way to be cool, man.
Speaker 3: What's he talking about?
Speaker 1: There was a ring, in a box, on my nightstand, after you left, it was gone!
Speaker 3: Wait, you guys think I stole some ring?
Speaker 5: Yeah!
Speaker 2: We know you took so just-just save yourself the time and confess!
Speaker 3: Okay, who are you? The Hardy boys? Look, I don't need to steal some stupid ring, all right? I make $1,600 a week doing what I do; any of you guys make that?
Speaker 4: Marry me.
[EX A]: 3

[EX Q]: Speaker 1: Well, I feel like a snack!
Speaker 2: Do you want some shortbread? Eh that's Scottish like you are.
Speaker 1: Oh no thanks. I don't like any thing from my Scottish heritage.
Speaker 3: What?!
Speaker 1: Well it's just my entire family was run out of Scotland by...Vikings. Anyway, lots of bad memories.
Speaker 3: Oh well, it sounds to me like your family is ready to uh, rediscover its Scottish roots.
Speaker 2: No! No-no they're not. They're still very angry! But y'know Chandler is also half-Swedish. You know what the Swedish people are famous for? Sitting down and being quiet.
Speaker 3: Well yeah-yeah the Scottish history is so much more...
Speaker 2: You can not play bagpipes at the wedding!!
Speaker 3: How did you know about that?!
Speaker 1: We heard you play all the way from your apartment!
Speaker 3: Were you the ones called the cops?!
Speaker 1: That's not really important right now. What is important is; while we appreciate the gesture, we just don't feel bagpipes are appropriate for our wedding.
Speaker 3: Why not?
Speaker 1: Because we hate them.
Speaker 3: Come on that's not fair! I mean you haven't even heard me play!
Speaker 1: We have heard you play.
Speaker 3: No, you've heard my practice. Okay? Just-just give me a chance to perform for you and then decide whatever you want. And I'm not going to tell you what song I'm gonna play either. But uh, let's just say when it's over I'll bet there will be a we bit o' celebration.
[EX A]:
3