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

Input: Consider Input: Person1: who are you writing a letter to ?
Person2: I'm just responding to Sue's letter . Do you want to help ?
Person1: OK . I guess I could add something . Tell them that I send my love .
Person2: that's kind of boring . Don't you want to tell them anything else ?
Person1: well , maybe you could tell them about my promotion .
Person2: you've been promoted ? when did that happen ?
Person1: just today . I guess I forgot to mention it .
Person2: congratulations ! That's really exciting ! Let's get out a bottle of wine to celebrate !
Person1: shouldn't we finish writing this letter first ?
Person2: ah . That can wait . Your promotion is the best news I've heard in a long time !
Person1: it is good news , but it looked like you were almost finished . We might as well just sign off .
Person2: ok , you're right . I'll just tell them how round I am of you for getting a promotion and then I'll thank Sue for her kind letter .
Person1: I guess you can write that I'm looking forward to seeing them in June .
Person2: that's thoughtful of you .
Person1: and also thank them from the bottom of my heart for the Christmas package they sent us .
Person2: that's right ! I almost forgot about that .
Person1: what would you do without me ?
Person2: we do balance each other out well . I guess we were really made for each other !

Output: 1

Input: Consider Input: Person1: I need a haircut .
Person2: Do you have an appointment ?
Person1: No , I don't . You look pretty busy today . Do you have an opening for me ?
Person2: Yes , we do . I can cut your hair right now if you like.Do you need a shampoo too , or just a haircut ?
Person1: Just a haircut . I washed my hair this morning .
Person2: Alright . I will have an assistant wet your hair . Then I can cut it.Please step over there.How would you like your hair cut today ?
Person1: Well , I last had a haircut eight weeks ago . So my hair is pretty long.But I want the same style .
Person2: I recommend you leave it a little long on top.But we should take in the back and sides a bit more . That's more fashionable now .
Person1: Alright . You are the expert . I'm happy to have your recommendation .
Person2: So I will cut the sides just above the ear . Is that good ?
Person1: Fine .
Person2: And do you usually part your hair along here ?
Person1: Yes .
Person2: Alright , I know just what to do.Your hair seems quite dry , you know . And I see some split ends .
Person1: Yes , I know my hair is quite thin.It runs in my family . Everybody has very thin hair .
Person2: The problem is the split ends . They make your hair look even more frizzy .
Person1: I don't know what to do about it .
Person2: Well , there are two things you can do.First , don't blow-dry your hair for so long after you shower . Let it dry naturally.That is easier on the hair , so you won't get split ends.Second , buy a g
Person1: Do you sell conditioner here ?
Person2: Of course . I have one I can suggest .
Person1: Great . I would be happy to try it . I know my hair doesn't look good now . It's too weak .
Person2: The problem is the split ends .

Output: 0

Input: Consider Input: Person1: Are you going to the party on Saturday ?
Person2: I was thinking about it . Are you ?
Person1: Yeah , I heard it's going to be a lot of fun .
Person2: Really ? Well , what time does it start ?
Person1: It starts at 8
Person2: Well , who all is going to be there ?
Person1: Everyone from school .
Person2: How do you know it's going to be so fun ?
Person1: This party is going to have a DJ , food , and drinks .
Person2: Wow , that does sound like it's going to be fun .
Person1: So am I going to see you at the party ?
Person2: Yeah , I will be there .
Output: 1