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

Ex Input:
We would prefer John to be the candidate.

Ex Output:
1


Ex Input:
I can well imagine the more him eating, the fatter him getting.

Ex Output:
0


Ex Input:
We talked about that our perspectives had changed over the years and the issues we had worked on as students.

Ex Output:

0