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: Our friends won't buy this analysis, let alone the next one we propose.
Example solution: 1
Example explanation: Since all the entities are in thier correct positions the statement is grammatically correct.Hence, the output is 1.

Problem: It was to finish the homework that John tried.

Solution: 0