You are given a conversation between two people. 'Person1:' and 'Person2:' are used to separate their respective dialogues. If the conversation begins with a question, label it '1' otherwise '0'.

Ex Input:
Person1: Do you keep any pets , such as cats , dogs ?
Person2: No , I'm scared of cats .
Person1: Oh , but why ?
Person2: I feel they're dirty .

Ex Output:
1

Ex Input:
Person1: The music has started .
Person2: How do you like this waltz ?
Person1: It's very nice .
Person2: May I ask you for a dance ?
Person1: Certainly .
Person2: You are doing the waltz wonderfully well .
Person1: Thanks . I'm glad you say so . Oh , the music has stopped .

Ex Output:
0

Ex Input:
Person1: Good afternoon , madam . Can I help you ?
Person2: Yes , please . Have you any vacancies for tonight ?
Person1: Do you have reservations with us ?
Person2: No , I don't think so .
Person1: Sorry , madam . We don't have vacancies at the moment .

Ex Output:
1