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: Could you tell me how to use the washer and dryer ?
Person2: What do you need help with ?
Person1: Do you know how to turn them on ?
Person2: Do you have any change ?
Person1: I need change for the machines ?
Person2: You need to put 50 cents into the washer machine and a dollar into the dryer .
Person1: So what do I need to do ?
Person2: The machines will turn on once you put the quarters into the slot .
Person1: That's really all I have to do ?
Person2: That's everything .
Person1: Thanks for all your help .
Person2: I'm here if you need any more help .

Ex Output:
0

Ex Input:
Person1: Can I help you ?
Person2: Yes , I'm looking for a house .
Person1: To buy or to rent ?
Person2: Oh , to rent .
Person1: How much do you want to pay ?
Person2: About 300 a month .
Person1: Well , I've got one here . It's 260 a month .
Person2: How big is it ?
Person1: It's got a kitchen , a bathroom , and one bedroom .
Person2: Well , actually I prefer something a bit bigger if that's possible .
Person1: Yes , I think so . There is also an interesting one.It ' s opposite the park .
Person2: How much is it ?
Person1: It's 325 a month . It's the biggest we've got in this area .
Person2: What's it like ?
Person1: Well , There're two bedrooms , a sitting room , a kitchen and a bathroom .
Person2: It sounds interesting . Can I go and see it ?
Person1: Of course , Sir .

Ex Output:
1

Ex Input:
Person1: How did you do on your BELTS exam ?
Person2: Fantastic ! I got an overall score of eight .
Person1: That's excellent ! Have you received your conditional offers yet ?
Person2: Yes . I'm just waiting until I officially get admitted to the university with a conditional offer to apply for my visa .
Person1: Do you know where the visa office is ?
Person2: No .
Person1: It's just near the Dong Si Shi Tiao subway stop .

Ex Output:
1