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

[Q]: That barn has seven pine trees behind it.
[A]: 1


[Q]: Most guests will be offended if we don't invite some philosopher.
[A]: 1


[Q]: $10 was cost by this book.
[A]:
0