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

That's a most kind answer that I ever heard.
0

Did his having played the piano surprise you?
1

The more geniuses John meets, the angrier he gets.

1