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

[EX Q]: Bill was bitten the dog.
[EX A]: 0

[EX Q]: Mary got heard to insult her parents.
[EX A]: 0

[EX Q]: John had an error in the proof he presented.
[EX A]:
1