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: The electric main joins the house circuit in the basement.

SOLUTION: 1

PROBLEM: We contributed her our paycheck.

SOLUTION: 0

PROBLEM: Nixon's behavior gave an idea for a book to every journalist living in New York.

SOLUTION:
1