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: Here is the snowball which I chased the boy who threw at our teacher.
Example Output: 0

Example Input: That piece of ice is too big for it to be likely for him to be able to pick up with a teaspoon.
Example Output: 0

Example Input: I have Tom's feeling that the company will squander the money.
Example Output:
0