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: Where's Chandler?
Speaker 2: Ah, he can't make it, he said he had to his... Whoa-oh!
Speaker 3: Joey? Joey Tribbiani?
Speaker 3: Joey I can see you okay? You're hiding behind the coats.
Speaker 2: Phew, close one.
2