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: Can we have two tickets for this evening's film ?
Person2: Sure.Which one ?
Person1: Titanic .
Person2: Where do you want to sit ?
Person1: Front , please .
Person2: Are these seats all right ? They're in the second rows .
Person1: Do you have seats in the fourth or fifth rows ?
Person2: Sorry.We ' Ve nothing further back .
Person1: All right.We ' ll take the second row.By the way , how much is it ?
Person2: Thirty yuan .
Person1: Fairly expensive .

Ex Output:
0

Ex Input:
Person1: Lily , do you know Lizzy ?
Person2: Lizzy who ?
Person1: Lizzy smith .
Person2: Of course I do .
Person1: Then , Do you know her younger sister ?
Person2: You mean Mary ?
Person1: Yes .
Person2: Sure . I know her elder sister Sue and younger sister Mary .
Person1: Oh , not bad . Then do you know her mother ?
Person2: Yes , certainly . I know her mother and father , and brother and sisters , too .
Person1: That sounds terrific .
Person2: Why do you ask me these questions ?
Person1: I just want to visit the family some day .

Ex Output:
1

Ex Input:
Person1: My daughter plans to quit her present job and wants to find another . She says she wants to get a better job with higher pay .
Person2: It seems quite normal to me . It is pretty much what I want to do .
Person1: But what about settling down to start a family ? Doesn't anyone want to get married any more ?
Person2: It is different now . The world is becoming colorful . Some of my friends don't feel the same pressure to marry . We all want to wait for the right moment .
Person1: What time is the right moment ?
Person2: Let the universe find us instead of forcing love . We prefer natural love . The most important thing is to be happy . Love will find us later . That is what we say .

Ex Output:
0