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: Hello.
Speaker 2: It's Erica.
Speaker 3: Ah, the stalker.
Speaker 2: Never mind, it's open.
Speaker 1: Yes, hitting her with a frying pan's a good idea. We might wanna have a backup plan, though, just in case she isn't a cartoon.
Speaker 3: Let's get out of here.
1