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

Example Input: This guitar, I've sung folk songs and accompanied myself on it all my life.
Example Output: 1

Example Input: The perception of the problem is quite thorough.
Example Output: 1

Example Input: There's anything Mary had asked for in this store.
Example Output:
0