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: 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: What do you need ?
Person2: I need to use the Internet .
Person1: You have your library card , right ?
Person2: Yes , I do .
Person1: There is a wait right now to use the computers .
Person2: That ' s fine .
Person1: Would you please write your name on this list ?
Person2: Then what ?
Person1: I will call you when a computer is free .
Person2: How do I log on to the computer ?
Person1: Use the number on the back of your library card .
Person2: Thanks . I ' ll be sitting over there .

Ex Output:
1

Ex Input:
Person1: Good morning , Mary !
Person2: Good morning , John !
Person1: I want to have a few friends over for a dinner party to celebrate my birthday . Would you be able to come the next weekend on Saturday ?
Person2: I'd be delighted to , John . Saturday did you say ?
Person1: Yes , if that's all right for you .
Person2: I'm pretty sure I'll be all right . In fact , I'd be delighted to come over and celebrate your birthday with you.What time are you planning to start ?
Person1: Oh , good . If you could come around six thirty or seven o'clock , that would give us some time to chat a whit over a glass of wine before dinner .
Person2: That sounds fine . I'll be there around seven .

Ex Output:
0