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

Input: Consider Input: John received a book.

Output: 1


Input: Consider Input: Romeo conceded that he and Juliet were going steady.

Output: 1


Input: Consider Input: The picture of Bill she slept.


Output: 0