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: 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: Jack , you should have known in general the situation of our company now .
Person2: Yes , and I am very satisfied with it .
Person1: Do you have any other questions ?
Person2: Would you please tell me about fringe benefits of the company ?
Person1: OK , we will pay insurances for employees after the probationary period .
Person2: What do they include ?
Person1: Include endowment insurance , medical insurance , unemployment insurance , work-related injury insurance and maternity insurance .
Person2: That sounds great .
Person1: Employees will also have housing payment reserve funds .
Person2: The fringe benefits in your company are excellent , and it's generous of you to offer five insurances and one fund
Person1: Do you have other questions ?
Person2: I want to know if the staff can get a vacation every year .
Person1: The permanent staff can have a paid month-long vacation every year . Besides , they also get chances of free traveling .
Person2: That's quite good . Thank you for telling me about those .

Ex Output:
0

Ex Input:
Person1: Is there anything I can do for you ?
Person2: Yes , I am looking for a skirt . What's in fashion now ?
Person1: This one is the latest . How do you like it ?
Person2: Well . Could I try it on ?
Person1: Sure .
Person2: ( A moment later ) It's cute.The color suits my complexion .

Ex Output:
1