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: Did you ever take History 231 ?
Person2: Yeah . Last semester .
Person1: Who was the professor ?
Person2: It was Professor Johnson .
Person1: I have him this semester . What do you think about him ?
Person2: He's a terrible instructor and demands a lot , but fortunately , he's an easy grader .
Person1: What did you end up getting ?
Person2: I got an A - . Sounds good , but none of my test scores were that high , so I don't know how I got a decent grade .
Person1: That's probably because he grades on a curve .
Person2: Are you enjoying the class so far ?
Person1: I hate it and I was about to withdrawal . But after hearing your experience , I think I will tough it out .
Person2: Yes . Definitely stay in the class . You will get a better grade than your test scores . He does that deliberately to make all the students study a lot .
Person1: Thanks for letting me know . I feel relieved now .
Example Output: 1

Example Input: Person1: Hello ! You have reached the offices of Maddox and McKnight , can I help you ?
Person2: Yes , my name is Max Richards . May I please speak to George Nelson ? I have already called several times . It seems I always catch him out of the office .
Person1: Oh , I'm sorry . Mr . Nelson is away at the moment . I'm sorry that you keep missing him while he is out of the office . Would you like to leave a message ?
Person2: I'm sorry , I didn't hear you clearly . Could you repeat that please ?
Person1: Certainly . Mr . Nelson can not take your call at the moment because he is away . He stepped out of the office for the whole afternoon and is not expected back until tomorrow morning . His schedule is very unpredictable at times , so the best way to reach him is to first make an appointment by email or text messaging .
Person2: Can I leave a message for him please ?
Person1: Of course , can you leave your name and number ? I'm sure Mr . Nelson will return your call as soon as he is able .
Person2: My name is Max Richards , my phone number is 898-3423 . Could you ask him to call me back as soon as he gets back , please ? I have a rather timely matter to discuss with him .
Person1: Can you tell me what it's about ? I can make a note of it , so Mr . Nelson is aware and prepared when he returns your call .
Person2: Yes , please let him know I would like to discuss the Girard case with him .
Example Output: 0

Example Input: Person1: I am very interested in a new apartment near the Taxing Plaza , but the price is very high , I really can't afford it .
Person2: How much is it for each square meter ? How large is the apartment ?
Person1: It's 7500 yuan per square meter , and I really like the one with three bedrooms and a large living room . Its total area is about 80 square meters .
Person2: That surely will cost you a lot of money . Are you going to make a full payment ?
Person1: Do you think I am rich enough to make it ? I am thinking about buying the apartment by installments . The real estate agency says if I pay a 25 % down payment , I can move in at once .
Person2: If sounds so tempting . Why not go applying for a loan from the bank ? They charge very low interest , so you can choose whether to pay up the balance in 10 or 20 years .
Example Output:
0