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: Consider Input: Speaker 1: Hey man, look it's my best bud. How ya doin? Wow, you are really gettin' good at that Marcel Marceau thing. Hey, whaddya say uh, we play some ball, you and me, huh, whaddya say? OK, that's my bad.
Speaker 2: If you hated the bracelet so much, Chandler, you should have just said so.
Speaker 1: Well, doesn't the fact that I wore the bracelet even though I hated it say something about our friendship and how much it means to me?
Speaker 2: Well, what about the fact that you insulted the bracelet and you made fun of me?
Speaker 1: OK, well that's the part where I'm a wank. But I was hoping we wouldn't focus on that. Hey, c'mon man, I said I was sorry like a hundred times, I promise I will never take it off my. . . wrist. But if, if you want to stay in there and be mad, you know, you just uh, you stay in there.
Speaker 2: You know what the. . .
Speaker 1: I am here, on my knees, holding up these couch cushions as a symbol of my sorrow and regret, much like they did in biblical times. Though you may haveth anger now. . .

Output: 1

Input: Consider Input: Speaker 1: Hey Rach, wanna hear the new song I'm thinkin' of singing this afternoon? I wrote it this morning in the shower.
Speaker 2: Ok.
Speaker 1: I'm in the shower and I'm writing a song. Stop me if you've heard it. My skin is soapy, and my hair is wet, and Tegrin spelled backward is Nirget.
Speaker 3: Uh, Rachel, sweetheart, could I see ya for a minute?
Speaker 2: What's up?
Speaker 3: F.Y.I.. I've decided to pay a professional musician to play in here on Sunday afternoons. Her name is Stephanie... something. She's supposed to be very good.
Speaker 2: But what about Phoebe?
Speaker 3: Rachel, it's not that your friend is bad, it's that she's so bad, she makes me want to put my finger through my eye into my brain and swirl it around.
Speaker 2: Ok, ok, so you're not a fan, but I mean, come on, you cannot do this to her.
Speaker 3: Uh--
Speaker 2: Oh, no no no no. Oh no no no no. I have to do this to her?
Speaker 1: Lather, rinse, repeat, and lather, rinse, repeat, and lather, rinse, repeat, as needed.

Output: 2

Input: Consider Input: Speaker 1: Hey Joey, hi! I'm Ray; I'm the producer of the show.
Speaker 2: It's a pleasure to meet you Ray.
Speaker 3: And this is Duncan and Erin, they're gonna help us out with the audition. So uh, let's get the camera rolling.
Speaker 2: Rightie-O Ray!
Speaker 3: Whenever you're ready.
Speaker 2: Hello, I'm Joey Tribbiani! Let's play Bamboozled! Erin, you get the first question! In hockey, who is known as The Great One?
Speaker 4: Wayne Gretzky.
Speaker 2: Correct! Now, would you like to pick a Wicked Wango card or spin the Wheel of Mayhem?
Speaker 3: Uh Joey, didn't your agents give you the revised rules? We've eliminated all of that. No wheel, no cards.
Speaker 2: What-Why?!
Speaker 3: Uh well, the game was too complicated and research showed people didn't follow it.
Speaker 2: Well what's complicated? You spin the Wheel of Mayhem to go up the Ladder of Chance. You go past the Mud Hut through the Rainbow Ring to get to the Golden Monkey; you yank his tail and boom! You're in Paradise Pond!
Speaker 3: Yeah all that's gone. It's basically just a simple question and answer game now.
Speaker 2: Well what's fun about that? You expect me to be the host of a boring game that's just people standing around answering questions?
Speaker 3: Well, there'll be women in bikinis holding up the scores.
Speaker 2: Let's play Bamboozled!
Output: 2