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

Q: Bill didn't confirm that Roger had eaten anything.

A: 0
****
Q: They said that Tom would pay up, and pay up he did.

A: 1
****
Q: That he sometimes went there alone is certain.

A:
1
****