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: Hello
Person2: Hi Angela , it's Dan .
Person1: Hi B . How are you ?
Person2: Good .
Person1: I called you yesterday . Did you get my message ?
Person2: Yes , I was taking a shower when you called . I saw that you called and I tried to call you back , but I think your phone was off .
Person1: No problem . I wanted to remind you that my friend is getting married next week . You're still coming to the wedding with me , right ?
Person2: Oh , is that next week ?
Person1: Yes . Did you forget ?
Person2: No , of course not . I already bought them a present .
Person1: That's good . I want to invite Megan also . Next time you see her , can you tell her for me .
Person2: Sure . Does she know your friend ?
Person1: Yes , I think they might have gone to the same college or something like that . I'm not exactly sure how they know each other .
Person2: Are we all going to drive together ?
Person1: Yes . I'll pick you up first , and then we'll go get Megan .

Ex Output:
0

Ex Input:
Person1: Do you mind taking a photo for me ?
Person2: Of course not .
Person1: That's really kind of you .
Person2: I'm afraid I don't know how to use your camera .
Person1: Well , it's an automatic camera . You just press the button .
Person2: I see .
Person1: Thanks a lot .

Ex Output:
0

Ex Input:
Person1: Earning extra income on the Internet is easier than you might think . After I started selling traditional craft items on the Internet last year , I have really been able to make bank doing something I love .
Person2: Is that right ? I hear all these horror stories of internet business crashing because there is not enough of a customer base yet . How can you be sure your idea will cash in ?
Person1: To run a successful internet business , it requires a little research and relatively small investment . You've got to have a good idea of some kind of product that is in demand or would be popular .
Person2: That's marketing research ... But what about getting started once you have an idea ?
Person1: After you have your great idea , then you can set up shop by registering a domain name , creating a website , an email address , and a hosting service . If you want to go all out on your website , you can put together shopping cart technology , but that can be pricey to start out with .
Person2: Sounds like a lot of work !
Person1: Anything worth doing takes work . Money doesn't grow on trees ... Most of us have to work for it .

Ex Output:
0