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 , may I help you ?
Person2: Yes , I need some more cash for my visit in China . May I cash a traveler ' s check here ?
Person1: Of course . We would be happy to cash it for you .
Person2: I was going to cash it at the hotel , but one of my friends said that banks always give better exchange rates .
Person1: Well , any bank will cash it at our present traveler's check buying rate , for which we ' re somewhere cheaper than hotels because of the service charge . You see , hotels really aren ' t in the money exchange business although they will cash traveler ' s check for their guest .
Person2: You mean there is really not that much of a difference .
Person1: No , madam . Not very much .
Person2: Well , may I cash these three checks for 100 dollars each ? I think that will be enough .
Person1: Yes , I'll be happy to cash these for you . Would you please countersign them here ?
Person2: Ok .

Ex Output:
1

Ex Input:
Person1: good afternoon ! Can I help you ?
Person2: could you show me where the Chinese-style clothing is located ? I want to buy a silk coat .
Person1: this way , please . Here they are . They're all handmade .
Person2: oh , they look nice . May I try that back one on ?
Person1: of course . The fitting room is right over there .
Person2: do you have a medium in the same color ? This one is a little tight .
Person1: I'm sorry . All the back of that size are sold out . Would you like a red one ?
Person2: ok , let me try it on . what do you think ?
Person1: oh , that suits you very well . Besides it is believed in China that the red color brings happiness and good luck .
Person2: really ? I'll take it , and I'm leaving here tomorrow . Is it possible for you to send one in black to me by mail when you gte it in ?
Person1: our pleasure . Please fill out this form , leaving your address and telephone number .
Person2: thanks . Who much would that come to ?
Person1: let me see ...

Ex Output:
1

Ex Input:
Person1: the May holiday is coming up soon . Are you planning on going on vacation ?
Person2: I am . I just went to the travel agent ' s and picked up these brochures .
Person1: where are you planning on going ?
Person2: I fancy going to Tibet for a few days . Have you ever been there ?
Person1: I went a long time ago , before they built the new train that can take you there .
Person2: would you recommend going there for a few days ?
Person1: personally , I think it ' d be better to go when you have more time . A few days isn ' t really enough to get acclimatize yourself and to go on a few excursions outside of the capital .
Person2: you ' re probably right . What do you think about Yangshao ?
Person1: it ' s a beautiful city , but I think it ' s become too touristy . How about going to a cosmopolitan city like Shanghai or Hong Kong ?
Person2: I ' d like to get away from the big city life .
Person1: maybe you should consider going to a hot springs resort outside of Beijing . I heard they are very relaxing .
Person2: I guess if I only have a few days , I should probably think about going somewhere that isn ' t far away .
Person1: since the May holiday is the high season , you should probably call ahead to reserve a room . Here ' s the phone number .
Person2: thanks ; I ' ll give them a call later .

Ex Output:
1