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:     hello , Deva , how are you ?  
 Person2:  can't complain . What about you ?  
 Person1:      not bad . Have you heard Wendy divorced her husband ?  
 Person2:  I've heard . She looks quite depressed .  
 Person1:      Yes . They used to be joined at the hip .  
 Person2:  I heard they were just married for 5 months .  
 Person1:      yes , she said they couldn't communicate well with each other and they often argued over trivial things .  
 Person2:  yeah . Mixed marriage is tempting but crisis-ridden .  
 Person1:      you said it . You know , they fall in love at first sight and quickly jumped into marriage .  
 Person2:  maybe they were just attracted to each other but too different to be married .  
 Person1:      yeah . We Chinese have quite different lifestyles and values from foreigners .  
 Person2:  definitely . That's why many cross-cultural marriages end in divorce .  
 Person1:      we've heard so much about Chinese film stars divorcing foreigners .  
 Person2:  that's true.Just hope Wendy can recover from the pain of divorce soon . 

Ex Output:
1


Ex Input:
 Person1:     May I help you with something ?  
 Person2:  I would like to return these books .  
 Person1:      What happened to this book ?  
 Person2:  I dropped it , and the cover tore off .  
 Person1:      I ’ m going to have to charge you for the damage .  
 Person2:  How much ?  
 Person1:      It ’ s only $ 5 .  
 Person2:  That ’ s not too bad .  
 Person1:      I know it ’ s not .  
 Person2:  Here ’ s the money for the book .  
 Person1:      Thank you for your payment .  
 Person2:  You are very welcome . 

Ex Output:
1


Ex Input:
 Person1:     You must be pretty excited about your trip to Europe . When is it that you are leaving ?  
 Person2:  In just three weeks , and I am excited . But there are still a few things I need to do before I go .  
 Person1:      Like what ?  
 Person2:  Like renewing my passport , going to the travel agency to buy my plane ticket and figuring out what to do with my apartment while I'm gone .  
 Person1:      You are not going to give it up , are you ?  
 Person2:  No way . I'll never find another apartment around here . But I don't like the idea of paying three months ' rent on an empty apartment , either .  
 Person1:      I don't blame you . Perhaps you could sublet it .  
 Person2:  Yes , but whom to ?  
 Person1:      Mmm ... let me think . Oh , I know just a person . An old colleague of mine , Jim Thomas , is coming here to do some research this summer , from June to August .  
 Person2:  That's exactly when I'll be away . It sounds ideal , as long as the landlord agrees .  
 Person1:      Tell you what , I'll be calling Jim late this week anyway , so I'll mention it to him then .  
 Person2:  Well , thanks , Bill . Let me know what happens . That extra money will really come in handy . 

Ex Output:

1


