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]: John is leaving but Mary's not.
[EX A]: 1

[EX Q]: The one whose I stole bike was John's.
[EX A]: 0

[EX Q]: No one knows how to tell from a good beer to a bad one.
[EX A]:
1