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: Anson left before Jenny saw himself.
Example Output: 0

Example Input: Tom picked these grapes, and I washed these grapes, and Suzie will prepare these grapes.
Example Output: 1

Example Input: Home was gone by John.
Example Output:
0