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'.

Example Input: How tall did Sheila marry a man?
Example Output: 0

Example Input: Did Merv show up and did you play chess?
Example Output: 1

Example Input: These shears clip well.
Example Output:
1