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: Sarah promised her old car to Catherine, but then gave it to her son instead.

SOLUTION: 1

PROBLEM: Order one first is what you should do.

SOLUTION: 0

PROBLEM: A squeaking door announced John's presence.

SOLUTION:
1