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

I'll work on it if no one else had.
1

All Mr Collins has done is have praised Lady de Bourg.
0

Mary listens to the Grateful Dead and she gets depressed.

1