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: How was your holiday to Cyprus ?
Person2: It was so fantastic I didn ' t really want to come home .
Person1: Did you happen to meet someone ?
Person2: How did you know ?
Person1: You always act like this when you ' Ve fallen in love . Who is he ? How did you meet ?
Person2: His name is Tony and we met my first night in Pathos . He works with my sister who lives there .
Person1: Was it love at first sight ?
Person2: Not really . I wasn ' t looking for a holiday romance , but my sister told me that she had promised him that she ' d set him up on blind date with me . I didn ' t think I ' d have anything to lose , so I went .
Person1: And ?
Person2: Let ' s just say that by the third date , we both realized that we had fallen in love .
Person1: That happened quickly ! Are you going to see him again ?
Person2: Luckily , his company has a position available here , so he ' s going to see if he can get relocated .
Person1: It sounds like he is madly in love with you . Are you ready for such a serious relationship ?
Person2: Well , I ' m not really a spring chicken anymore . We don ' t know what will happen .

Ex Output:
1

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

Ex Output:
0

Ex Input:
Person1: Oh great ! This stupid computer froze again ! That's the third time today ! Hey Samuel , can you come take a look at my PC ? It's acting again . It must have a virus or something .
Person2: Just give me a second . I'll be right up . I ran a virus scan on your computer , and it turns out that you have a lot of infected files !
Person1: But I'm quite careful when I'm browsing theinternet , I have no idea how I could have picked up a virus .
Person2: Well , you have to make sure that your anti-virus software is updated regularly , yours wasn't up to date , that ' s probably what was causing your problems .
Person1: Ok . Anything else ?
Person2: Yeah , try not to kick or hit the computer !
Person1: Um yeah . Sorry about that .

Ex Output:
0