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: John's plan to go abroad is nice.

A: 1
****
Q: It's probable that in general he understands what's going on.

A: 1
****
Q: This is a hat which I'm going to see that my wife buys.

A:
1
****