TASK DEFINITION: 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'.
PROBLEM: This matter was on which I consulted with the chairman of the Select Committee.

SOLUTION: 0

PROBLEM: You are the only person that I can rely on.

SOLUTION: 0

PROBLEM: The horizon was appeared on by a pirate ship.

SOLUTION:
0