You will be given a sentence. Check whether the sentence is grammatically correct and is meaningful. If the sentence is grammatically correct, then answer with '1', otherwise answer with '0'.

Input: Consider Input: Only Glasgow would he travel by train.

Output: 0


Input: Consider Input: What kind cf parakeets are they investigating all people owning?

Output: 0


Input: Consider Input: Nixon's behavior gave an idea for a book to every journalist living in New York City in the 1970s.


Output: 1