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'.

Input: Consider Input: Person1: Hello , my name is Bill Martin and we have a reservation for party tonight .
Person2: Yes , what can I do for you ?
Person1: I need to cancel that . We have had a last minute change of plans .
Person2: I see . Would you like me to reschedule you for another night ?
Person1: OK , we will let you know as early as possible . By the way , will we be able to get a refund on this cancellation ?
Person2: Certainly .
Person1: Thank you very much .
Person2: That's all right . I hope we can help you at some other time . Good-bye .
Person1: Good-bye .

Output: 0

Input: Consider Input: Person1: Have you seen the news that there is a serious flood in the South ?
Person2: Yes . I've got to cancel my traveling plan .
Person1: What a pity ! I know you've been longing for it these months .
Person2: The only thing I can do now is waiting for another chance .

Output: 1

Input: Consider Input: Person1: Is my hair done yet ?
Person2: Yeah , I just need to make the final touches .
Person1: How long until you're finished ?
Person2: I'm finished . What do you think ?
Person1: I like my hair so much .
Person2: Do you really ?
Person1: It's beautiful .
Person2: Well , thank you very much .
Person1: How much is it for my hair ?
Person2: You owe me $ 55 .
Person1: Thanks for everything .
Person2: You are very welcome . Come back again .
Output: 1