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: What was the party like last night , Jean ?
Person2: Not bad at all , thanks . There were one or two interesting people there.Why couldn't you come ?
Person1: Well , I couldn't get away from work early . And when . I got home I had a headache , so I had to go straight to bed . But I was over-tired , because I wasn't able to get to sleep for hours .
Person2: What a shame . Why didn't you take a sleeping pill ?
Person1: I don't like them . I used to take them when I had to work overtime , you know .
Person2: How many did you use to take ?
Person1: Three every night .
Person2: Good heavens . Why did you take so many ?
Person1: Because I was under a terrible strain . The doctor saidthey weren't very strong . Anyway , I used to feel awful the next morning .
Person2: I'm sure you did .
Person1: The doctor said I had to be careful .
Person2: He was quite right .
Person1: So I stopped drinking coffee late at night instead .
Example Output: 1

Example Input: Person1: Lisa , I am told you did very well in your exam .
Person2: I was the only one who got a strait A in my class .
Person1: Congratulations on your success .
Person2: Thank you .
Example Output: 0

Example Input: Person1: Hi , Jenny . Are you going to school now ?
Person2: Yup . I have English at 9 in the morning .
Person1: Got any plans after the class ?
Person2: Not really . What about you ?
Person1: We will have our midterm exams next month . I plan to look for some important books and study at the library . Do you want to join me ?
Person2: Sure . I need to return some books . They are due today . Besides , I can also read some weekly publications , magazines and newspapers .
Person1: Great . We can go to the swimming pool in the gymnasium after that .
Person2: That sounds like a good idea . We can chill out a little in such a hot summer . Are you good at swimming ?
Person1: Well , that's a good question . I haven't swum for almost two years . I think I need more practice .
Person2: Oh , it's almost 9 . I need to hurry . I am running late now . See you after class in front of the library then . Bye !
Person1: See you then .
Example Output:
1