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: What was the party like last night , Jean ?
Person2: Not bad at all , thanks . There were one or two interesting people there.Why couldn't you come ?
Person1: Well , I couldn't get away from work early . And when . I got home I had a headache , so I had to go straight to bed . But I was over-tired , because I wasn't able to get to sleep for hours .
Person2: What a shame . Why didn't you take a sleeping pill ?
Person1: I don't like them . I used to take them when I had to work overtime , you know .
Person2: How many did you use to take ?
Person1: Three every night .
Person2: Good heavens . Why did you take so many ?
Person1: Because I was under a terrible strain . The doctor saidthey weren't very strong . Anyway , I used to feel awful the next morning .
Person2: I'm sure you did .
Person1: The doctor said I had to be careful .
Person2: He was quite right .
Person1: So I stopped drinking coffee late at night instead .

Ex Output:
1

Ex Input:
Person1: This is the good life ! We have it good don ' t you think ?
Person2: Yeah of course ! Although , don ' t you ever wonder what " could have been " ?
Person1: What do you mean ?
Person2: Well , sometimes I think of how things could have turned out if I had done things a little differently .
Person1: For example ?
Person2: Like for example , if I hadn ' t studied architecture , I would have become an artist like I wanted to .
Person1: I see . Yeah now that I think of it , I wouldn ' t have gotten married if I hadn ' t moved to this town and met Sally .
Person2: You see ! Everything happens for a reason ! We wouldn ' t even have met if I hadn ' t been in that car accident ten years ago !
Person1: Well , I have no regrets !
Person2: I ' ll drink to that !

Ex Output:
1

Ex Input:
Person1: Who is responsible for the accident ? Is it Tony ' s fault ?
Person2: No . I don ' t suppose he ' s to blame . The man in the other car made a big mistake .
Person1: You mean Tony is the victim ? No , I don ' t think so . He ' s equally responsible because he tried to overtake you .
Person2: Yeah . I think everyone should go easy on driving .

Ex Output:
1