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:
What a kind of actor is he?

Ex Output:
0


Ex Input:
It is Kim on whom that Sandy relies.

Ex Output:
0


Ex Input:
Sally explained the attempt to arrest Holly, but only after I had denied the decision to.

Ex Output:

0