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: Excuse me , what's the price of a single room ?
Person2: That's $ 50 for a single night .
Person1: Are meals included ?
Person2: Yes , of course . Can I make a reservation for you ?
Person1: Fine , I want to book one for overnight .

Ex Output:
1

Ex Input:
Person1: My dear , it's five flights up !
Person2: That's all right.We ' ll get used to it.Besides , it is quiet up there .
Person1: We're little further away from the street and traffic noise
Person2: And there's no one living over us .
Person1: Is the place well-furnished ?
Person2: Yes , it's pretty bright in there and big enough for our children to play .
Person1: What about the kitchen ?
Person2: The stove and refrigerator are in good working order ,
Person1: And I don't see any loose electric wiring that could cause fires .
Person2: Are the plumbing all right ?
Person1: The plumbing seems OK , too .
Person2: The toilet flushes and the shower has hot and cold water
Person1: And the sinks don't seem to leak .
Person2: The place is OK . Let's go there and have a look at it again .

Ex Output:
0

Ex Input:
Person1: What's all the security check about , Jimmy ? Does it mean the bar may be a dangerous place ?
Person2: No , of course not . Just in case . Nothing to worry about . Don't you also do this in China ?
Person1: I don't know . Maybe the same . Actually , this is my first time being in a bar .
Person2: Oh , then it's my honor to be here with you . I can see now why you've been so curious about the bar . You like this place ?
Person1: Sure . I love this place , especially the decoration . So tasteful !
Person2: Yeah . Other than that , the real feature is the excellent drinks . Can I have your ticket ?
Person1: Here it is . But , what for ? We're already in .
Person2: Well , with the ticket , you can get a free drink . What would you like ? Orange juice ?
Person1: Yes , orange juice will be fine for me . But how can you get the drink ? It's so crowded there around the counter . You can barely move .
Person2: I'll show you how . The bar tenders know whose turn it is . And also , I can snap my fingers to catch his attention .
Person1: Cool . Thanks . ( Jimmy brings May a glass of orange juice . )
Person2: Oh , fresh juice , I love it . Well , I heard American people love hanging out in bars . Is that true ?
Person1: Not everyone . But a lot of people do , especially the young . It's a fine place to spend an evening with friends or to make some new friends .
Person2: Interesting . Hey , look over there . The dance floor is already packed with people . Oh , the girl in red dances great .
Person1: Yeah , a dancing queen . Wanna go and join them ?
Person2: Maybe later . I wanna take some photos first .
Person1: OK . Let me help you to hold the drink .
Person2: Thank you .

Ex Output:
1