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]: The child is impossible to teach him.
[EX A]: 0

[EX Q]: I brought a razor with which to shave himself.
[EX A]: 0

[EX Q]: I don't know that to agree with him or not.
[EX A]:
0