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

Input: Consider Input: What Mary donated was a lot of money to NPR.

Output: 0


Input: Consider Input: Every man who said he would buy some salmon did buy some salmon.

Output: 1


Input: Consider Input: The dumplings which Sasha is gobbling down faster than I can reheat the meatballs are extremely tasty, if I do say so.


Output: 1