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: You wanna tell secrets?! Okay! Okay! In college, Ross used to wear leg warmers!
Speaker 2: All right! All right! Chandler entered a Vanilla Ice look-a-like contest and won!
Speaker 1: Ross came in forth and cried!
Speaker 3: Oh my God!
Speaker 2: Oh, is that funny?! Oh, you-you find that funny?! Well maybe Chandler should know some of your secrets too!
Speaker 3: I-I already told him everything! You shush!!
Speaker 2: Once Monica was sent to her room without dinner, so she ate the macaroni off a jewelry box she'd made.
Speaker 3: Ross used to stay up every Saturday night to watch Golden Girls!
Speaker 2: Monica couldn't tell time 'til she was 13!
Speaker 3: It's hard for some people!
Speaker 1: Of course it is. Wow-whoa!
Speaker 3: Chandler one time wore my underwear to work!
Speaker 1: Hey!!!
Speaker 3: Ohh, I'm sorry I couldn't think of anymore for Ross!
Speaker 2: Ohh! Ohh! In college, Chandler got drunk and slept with the lady who cleaned our dorm!
Speaker 1: That was you!
Speaker 2: Whatever dude, you kissed a guy.
Output:
2