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: Have you got your invitation yet ?
Person2: My invitation ? No , I haven't . My invitation to what ?
Person1: The house warming party .
Person2: Whose house warming party is it ?
Person1: Tom and Bill Smith . They are both working now you know ? And they've bought a new house .
Person2: Oh , they have ? I didn't know . I haven't seen Tom lately .
Person1: It's out in the suburbs .
Person2: Have you seen the house ?
Person1: Yes , I have . I went out with them last weekend .
Person2: Is it nice ?
Person1: Yes , it is . There are three bedrooms , a living room , a dining room , and a big kitchen . There's also a garden .
Person2: Well , that does sound nice . Have they moved in yet ?
Person1: They are moving today . Tom's taken the day off . He's rented a truck , and they should have all their furniture in the house tonight .
Person2: When are they going to have the party ?
Person1: Next Saturday night . You should get your invitation today or tomorrow .
Person2: Wow , that would be something to look forward to .

Ex Output:
1

Ex Input:
Person1: Welcome to our university ' s fifties anniversary , Sir . Please have a seat .
Person2: Thank you . Wow , your school has so many honors . Congratulations !
Person1: Thank you .
Person2: Excuse me . I wonder see Dean Mr . Lee first . I was wondering if could you tell me where his office is ?
Person1: Certainly . Mr . Lee ' s office building at the south end of the campus , just beside the library .
Person2: Excuse me ?
Person1: Let me show you the way . Please follow me .
Person2: Thank you very much . It ' s very kind of you .
Person1: My pleasure .
Person2: This is it ?
Person1: It ' s up on the second floor . You have to use the stairs . The elevator isn ' t working .

Ex Output:
0

Ex Input:
Person1: Mm ... How do I get this ticket machine to work ?
Person2: Well first put your money in .
Person1: Ok , I ' Ve done that .
Person2: Then just press this button .
Person1: Oh it ' s printed the ticket already . Thank you very much .
Person2: You ' re welcome .

Ex Output:
1