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: Good morning , Miss .
Person2: Morning . Can I help you ?
Person1: Yes , I'd like to know how to use the library . You know , I'm a new student here .
Person2: All you need is your student identification card to check out books .
Person1: Yes.Here ' s my identification .
Person2: That's all you need .
Person1: Thank you very much . By the way , how many books am I allowed to check out ?
Person2: You can check out two books at a time . But you can't check out newspapers , magazines and periodicals ; they have to be read within library .
Person1: How long can I keep the books ?
Person2: For two weeks . After that you must renew the books if you wish to keep them longer .
Person1: I want a book on physics . Could you show me where I can find it ?
Person2: Yes , over there to your left .

Ex Output:
0

Ex Input:
Person1: which countries have you been to ?
Person2: I ' Ve been to most of the countries in Europe , several countries in asia , china , Japan , korea , and Thailand , and to the united states and Canada .
Person1: I thought you had been to Australia too .
Person2: no , but I ' m planning on visiting Australia and New Zealand soon . I ' Ve heard that they are beautiful countries . Which is the most beautiful country you ' Ve been to ?
Person1: I think I'd say Norway . It has many pictures as fjords , waterfalls , and mountains .
Person2: isn ' t it really cold there ?
Person1: well , the north of Norway is almost always cold , but further south it can be fairly warm in summer . It ' s a wet country , so there ' s snow almost everywhere in winter .
Person2: I ' Ve been to other Scandinavian countries , but not to Norway . Perhaps I should go and do some winter sports there .

Ex Output:
1

Ex Input:
Person1: Hello !
Person2: Oh , hi !
Person1: Please allow me to introduce myself . My name is Tom .
Person2: Pleased to meet you . My name is Alice . Did you just move in next door ?
Person1: Yes , I did . Have you lived here long ?
Person2: Me ? I guess so . I've lived here for about six years now . Have you lived in America very long ?
Person1: No , not really . When I left Vietnam , I came to America and I lived with a cousin in Dallas for two years . Where do you work , Alice ?
Person2: I teach mathematics at a college . What do you do ?
Person1: I am an accountant at a company
Person2: Well , Tom . It's good to meet you . I have to go now . I am teaching a class this evening , and I need to get to the college .
Person1: It's nice meeting you too , Alice .
Person2: See you around !
Person1: Goodbye , Alice .

Ex Output:
0