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: 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: Alright everyone settle down . Let ' s get started.As you know , an important aspect of becoming a good citizen is understanding the genesis of our legal system . It is not enough to simply memorize our laws , it is necessary that we comprehend why and how they were formed . This brings me to our topic for today . Does anyone know what we celebrate on May first ?
Person2: Cinct de mayo ?
Person1: No , that ' s May fifth in Spanish , James , no wonder you are failing my Spanish class . No , May first is International Workers ' Day .
Person2: Do we get a day off from school then ?
Person1: No ! It is not considered to be a national holiday here in the US , but in other countries it is .
Person2: Www , man !
Person1: In the nineteenth century , working conditions were appalling , with workers being forced to work ten , twelve , and fourteen hours a day . Support for the eight-hour work day movement was growing rapidly , despite the indifference and hostility of many union leaders , and by April 1886 , 250,000 workers were involved in the May Day movement . Previous legislative attempts to improve working conditions had failed , so labor organizers took drastic measures . They passed a resolution stating that eight hours would constitute a legal day ' s work . And , on May First 1886 , the resolution took effect .
Person2: Cool ! Is that why we only work eight hours now ?
Person1: Yes ! But the happy ending came at a high price.On May third , 1886 , police fired into a crowd of strikers at the McCormick Reaper Works Factory , killing four and wounding many . A mass meeting was called for the next day to protest the brutality .
Person2: And then what happened ?
Person1: Well , as we say , the rest is history ...

Ex Output:
1

Ex Input:
Person1: Are you going to the movie theater with me tonight ?
Person2: Is there anything good playing ?
Person1: Titanic is playing tonight . It's a blockbuster .
Person2: Really ? I want to go , too .
Person1: OK , let's meet at the movie theater entrance tonight . Don ' t be late .
Person2: No problem .
Person1: ( After watching the movie . ) Are you crying ?
Person2: I get a lump in my throat whenever I see a tragic movie .
Person1: Tragic movie ? I think it's a love story .
Person2: But their love is touching !
Person1: Ah , you're just too emotional .
Person2: I am not !

Ex Output:
0