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]: Me gave it to him.
[EX A]: 0

[EX Q]: Brenda and Molly haggled about the party.
[EX A]: 1

[EX Q]: Smith inscribed the ring with his name.
[EX A]:
1