Q: 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'.
Speaker 1: Hi!
Speaker 2: Hey... hey listen... What do you guys know about investments?
Speaker 1: How come?
Speaker 2: Well, I'm starting to make good money on the show and I'm thinking... I should probably do something with it.
Speaker 3: What do you do with your money now?
Speaker 2: Well, I just tape it to the back of my toilet tank. I didn't say that! It's in a bank guarded by robots!
Speaker 1: Do you have any ideas?
Speaker 2: Uh, yeah... This guy at work got me excited about going in on an emu farm. That'd be kinda cool huh? Pitching in on the weekends, helping to plant the emus...
Speaker 3: Joe... Emus are birds. You raise them for meat.
Speaker 2: Yeah! Right! People eat birds... Bird meat... Now do they just fly into your mouth or you go to... you go to a restaurant and you say: "Excuse me, I'll have a bucket of fried bird. " Or... or maybe just a wing or...
Speaker 3: Joey, I think you should consider something a little less risky. I mean, I think in this market, real estate is your best investment. The Fed just lowered the rates and the interest on your mortgage is totally deductible. That's right, I know some stuff!
Speaker 2: Real estate, huh? Hmmm...
Speaker 3:Oh, and you know who's selling a great apartment? Richard!
Speaker 1:Oh, and you know whose knowledge of her ex-boyfriend is shocking? Monica!
Speaker 3: My dad told me. They play golf together.
Speaker 1: Oh, well... Maybe I'll join them some time. I just hope the club doesn't slip out of my hand and beat the moustache off his face.
A:
2