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: Where are you going this weekend ?
Person2: I have no idea . Maybe I will sleep for the whole day .
Person1: So boring ! Shall we go out for a picnic with my friends ?
Person2: Sounds interesting . Who are the other people ?
Person1: Fred and David , my college class mates and Rachel .
Person2: Gorgeous ! What should I bring on that day ?
Person1: Your tent and enough food and water .
Person2: You mean , we can do many other things after the picnic , right ?
Person1: We can go fishing , chatting and camping .
Person2: What are we waiting for ? Come on !
Person1: Don't hurry . Wait for my call .
Example Output: 1

Example Input: Person1: How are you doing ?
Person2: Everything ' s fine with me .
Person1: What can I do for you today ?
Person2: Is it possible for me to view the apartment today ?
Person1: Unfortunately , you will not be able to view it today .
Person2: Why can ' t I view it today ?
Person1: You ' ll need to make an appointment to view the apartment .
Person2: I understand . May I make an appointment then ?
Person1: How does this Friday sound ?
Person2: Friday at 6 pm . would be perfect .
Person1: That will be fine .
Person2: Thanks for your help .
Example Output: 1

Example Input: Person1: Fred , can you tell me how I can open my QQ Zone ?
Person2: Click your right key of mouse and choose QQ Zone .
Person1: Well , I have to provide some of my information , right ?
Person2: Yep ! The nick name for your zone , address , gender and so on . Some of them are privacy , so you have the right to keep secret here .
Person1: All information is filled in and now I can design my zone .
Person2: You can choose one type to make it as your background , and then find a music player and put your favorite songs into it , so your visitors can enjoy the music after entering into your zone .
Person1: Now everything is OK . I can write my blog , right ?
Person2: Certainly .
Person1: ( Half an hour , Janice begins shouting excitedly . ) What's the matter with you ?
Person2: Look ! David gives his following-comment on my first blog . He is my first visitor .
Example Output:
1