Detailed Instructions: 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'.
Problem:Speaker 1: What are you doing?
Speaker 2: The key's stuck in the lock.
Speaker 1: I can fix it. Hold on.
Speaker 2: It still doesn't work.
Speaker 1: I'm not finished.
Speaker 2: Oh.
Speaker 2: Nice job Joe! You're quite the craftsmen.
Solution:
2