You will be given a definition of a task first, then some input of the task.
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'.

The hot potato which there were several hundred people yelling for me to put down gently turned out to have been filled with TNT.
Output:
1