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: the inn at the presidio is near presidio and allows dogs.
Original Reference: the inn at the presidio, located in the presidio area, does allow dogs.
Example Output: 0

Example Input: System Reference: crustacean restaurant, is good for dinner.
Original Reference: crustacean restaurant is also good for dinner.
Example Output: 1

Example Input: System Reference: x is a chinese restaurant.
Original Reference: i recommend x a chinese restaurant.
Example Output:
0