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: Red picture desk, this girl in the red coat will put a picture of.

Output: 0


Input: Consider Input: Although Bob may not be a nut, many people have claimed and I think so too.

Output: 0


Input: Consider Input: Do you know the boy whom Mary saw?


Output: 1