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

Example Input: John seemed to be a great linguist.
Example Output: 1

Example Input: There danced three men at the palace.
Example Output: 0

Example Input: Bill reading Shakespeare and Maureen singing Schubert satisfy me
Example Output:
0