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: Mr.Ben , What do you think of the book ?
Person2: It's an excellent one . I like it very much .
Person1: Why ?
Person2: It includes a lot of useful words and phrases .
Person1: I agree with you .
Example Output: 1

Example Input: Person1: I can't decide whether to go to university or to get a job .
Person2: Well , if I were you , I'd go on studying .
Person1: But I don't even know what to study .
Person2: If I had chance again , I'd major in English . You're good at language .
Person1: That's what my parents want me to do .
Person2: You should take their advice . They know what's best for you.But my friends will have jobs and lots of fun , while I spend all my time doing reading and writing .
Person1: But if you go to university , you'll still have time for fun .
Person2: Hm , what you say makes sense . But you know , I still have to ask my parents for pocket money , and I hate to do so at this age .
Person1: And if you try to find a part-time job , you'll have some money too .
Person2: You're right . Thank you for the advice .
Example Output: 0

Example Input: Person1: We've been cramming for tomorrow's history exam since early this morning . What do you say we take a break and listen to some music , okay ?
Person2: Now that you mention it , I'm getting a little bumed-out from studying nonstop , too . Listening to some music for a while would suit me just fine .
Person1: While you're picking out a record to play , I'll grab a couple of beers out of the refrigerator .
Person2: You sure have a lot of discs here .
Person1: Yeah , I've got everything from rock n ' roll to the latest new - wave stuff .
Person2: To tell you the truth , I'm strictly into classical music . You don't happen to have any Bach or Mozart , do you ?
Person1: Sorry , my taste in music doesn't go back any further than the 1960 ' s . Music written before then is just history to me .
Person2: Well , speaking of history , let's get back to the books.We ' Ve got an exam tomorrow , remember ?
Example Output:
0