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

Example Input: Person1: Hey , Ann . You don't have a pen , do you ?
Person2: Sure , here you go .
Person1: Thanks . I don't suppose you have some paper , too .
Person2: Of course . There you are .
Person1: Thanks so much . I owe you one .
Example Output: 0

Example Input: Person1: How's the building work going ?
Person2: Well , I'm afraid we've had a slight delay .
Person1: What's the problem ? We really can't have any delays at this stage . We're working to a really tight schedule and we're already over budget .
Person2: The cement arrived late but don't worry , I'm confident we can still meet the deadline . The crew is on stand-by and as soon as the concrete has set we can get started again .
Person1: OK . Keep me informed . Jt must be ready on time .
Example Output: 1

Example Input: Person1: So , Karen , what do you do in your free time ?
Person2: Well , I like to play the piano .
Person1: Really ? How long have you been playing piano ?
Person2: About 18 years , I started learning when I was a kid .
Person1: That ' s really interesting , you have to play for me some time .
Person2: Sure , so , what about you ? Do you have any hobbies ?
Person1: Well , I collect beer mats . I ' m not sure that counts , though .
Example Output:
1