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

Output: 1

Input: Consider Input: Person1: I hear you are moving to Dalian .
Person2: Yes . I found a very good job down here .
Person1: Well , we'll certainly miss you here .
Person2: I am going to miss you , too .
Person1: Let's keep in touch .
Person2: OK . I will write to you as soon as I get there .

Output: 0

Input: Consider Input: Person1: Hi ! How are you going ?
Person2: Fine , thank you.How are you doing this morning ?
Person1: Not bad.How about you ? Haven't seen you for a long time .
Person2: Yes . I've been to New York . I got back only yesterday .
Person1: Did you enjoy yourself ?
Person2: Very much.New York is such a nice place.Shall I show you some photographs ?
Person1: Thanks , I like looking at photographs.How nice ! Oh , I'm afraid I must be going now . I've got an appointment . Have a good day .
Person2: You too . I hope to see you soon.Goodbye .
Person1: Goodbye .
Output: 1