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: The more that pictures of him appear in the news, the more likely John is to get arrested.
Example Output: 1

Example Input: Who is Ann going to send a picture to her teacher of, as soon as she gets home?
Example Output: 0

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