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 . I would like to buy some business cards . 
 Person2:  Excellent . How many would you like ? 
 Person1:      Two thousand would be fine . 
 Person2:  You need to fill out this form , please . 
 Person1:      All I want is the same thing on this card . 
 Person2:  That will be no problem , sir . 
 Person1:      ... Okay , I'm finished . Here's your form and my old card . 
 Person2:  Very good , sir . Your order will be ready in one week . 
 Person1:      Do you think you could finish it in three days ? 
 Person2:  No problem , sir . But it will cost you extra . 

Ex Output:
0


Ex Input:
 Person1:     Excuse me , I am Dunlin . I am here about your advertisement for a tourist guide . Are there still any vacancies ? 
 Person2:  Yes . One more is needed . 
 Person1:      Oh , I'm so lucky . I want to apply for it . 
 Person2:  But do you have any experience like that ? 
 Person1:      Yes . I have been a guide for two years . 
 Person2:  OK.Then I want to ask you some questions about the tourist guide.If there wasn accident , for example a tourist falls ill , what would you do ? 
 Person1:      I think I will call the office to send someone to meet us , and escort that person to the nearest hospital without interrupting our trip . 
 Person2:  If one of them forgot a camera in a restaurant , would you let the tourist bus go back ? 
 Person1:      No . In fact , prior to their boarding the bus and their getting off the bus , I will make an announcement to remind them that they should check their belongings . 
 Person2:  Well , it seems that you have all the practical experience to handle these cases . I am very glad to welcome you into our company . 
 Person1:      Thank you . It's my honor . 

Ex Output:
1


Ex Input:
 Person1:     If you are staying here for a few days , we ’ d be delighted to see you at our factory .  
 Person2:  It ’ s very kind of you to say so . My associate and I will be interested in visiting your factory .  
 Person1:      Let us know when you are free . We ’ ll arrange the tour for you .  
 Person2:  Thank you . I ’ ll give you a call this afternoon to set the time . There ’ s nothing like seeing things with one ’ s own eyes .  
 Person1:      That ’ s for sure . You ’ ll know our products better after the visit . 

Ex Output:

0


