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: John will study syntax, and Mary, too.
Example Output: 1

Example Input: It is important to be more careful, the more you eat.
Example Output: 1

Example Input: The police read the detainees their rights, but not a single one was paying attention.
Example Output:
1