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'.

Example Input: Person1: Kate , what do you like to do tonight ? Do you often go to the movies ?
Person2: Of course . I often go to the movies .
Person1: There ' s a good movie called Summer in Beijing .
Person2: I heard it ' s a very good movie .
Person1: Let ' s find out what time it starts .
Person2: Let ' s look at the newspaper .
Person1: Here it is . It starts at 8 o'clock .
Person2: Wonderful . I ' m so excited .
Example Output: 1

Example Input: Person1: Do you believe in horoscope fortune-telling ?
Person2: I used to be an atheist . But in recent months , I couldn't but form a more favorable opinion of horoscope .
Person1: That sounds interesting . Have you been involved in any mystery ?
Person2: Not exactly , except that I find horoscope predictions increasingly accurate . I came upon a website which sends me an up-dated message by e-mail each day forecasting my experience in detail . It is amazing to find these forecasts largely in line with my daily life .
Person1: What did it say about you then ?
Person2: For example , the message for the day before yesterday notified me that I , as a Leo guy , was to have some " unusual experience in food and drink . And as it turned out , the reality matched this prediction well . Lasi night , I was treated to a dinner party by Mr . Lee .
Person1: But it must have been only a coincidence . That's the only way superstition wins over science .
Person2: Oh , no . You can never tell whether such-and-such is science or sheer fraud.If horoscope is really something deceptive , how come quite a size of proportion of young people think highly of it .
Person1: For fun . It serves as a shared topic to them.While they claim to consult the predictions constantly and marvel at their " accuracy ' . they do not necessarily take them seriously . When it that these predictions are matched by their real-life experiences , they delight in spreading the thrill with friends . But if there isn't any correlation between reality and predictions , they just grin , forget about them , and go on living as usual .
Example Output: 1

Example Input: Person1: welcome back ! How was your vacation ?
Person2: it was fantastic , but I'm glad to be back ! Being a tourist is really tiring !
Person1: where did you end up going ?
Person2: because it's off-season , we got a really good package deal to Paris , so we went there .
Person1: I've always wanted to go to Paris . The Eiffel Tower is one of the most famous tourist attractions in the world ! Did you go to the top ?
Person2: that was the first thing we did . I have a few pictures . Do you want to see them ?
Person1: sure . What's this one a picture of ?
Person2: oh , that's a picture of me on our fourth day of travelling . I'm standing next to a famous foundation in the centre of the city .
Person1: you don't look very happy in that picture .
Person2: no , by that time , I was sick of sightseeing . I had had enough of art galleries , cathedrals , fountains , statues , and palaces !
Person1: so what did you do ?
Person2: we spent that afternoon walking around a flea market . We had a few coffees , watched a movie , and went for a swim in the pool at the hotel .
Person1: my travel agent always reminds me to plan a day of relaxing for every 3 days of sightseeing . Did you go to the Louvre ?
Person2: of course ! You can't go to Paris without going to their famous art gallery ! I was surprised by how small the Mona Lisa was though .
Person1: that's what everyone says ! I can't wait to see it for myself some day .
Example Output:
1