You are given an original reference as well as a system reference. Your task is to judge the quality of the system reference. If the utterance is grammatically correct and fluent output 1, else output 0.

Example Input: System Reference: x is a restaurant in x on and to x.
Original Reference: x is a restaurant in x and x, near x. .
Example Output: 0

Example Input: System Reference: where would you like it to be near to?
Original Reference: what is it near?.
Example Output: 0

Example Input: System Reference: x is a seafood restaurant on the riverside area near x.
Original Reference: x is a seafood restaurant in the riverside area near x.
Example Output:
1