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: taiwan restaurant, is a nice restaurant near the inner richmond that allows kids, and is good for lunch.
Original Reference: taiwan restaurant is a good lunch place that allows kid -s near inner richmond.
Example Output: 1

Example Input: System Reference: fresca, is near pacific heights, does not allow kids, and is moderate.
Original Reference: fresca restaurant does not allow child -s and is in the moderate price range and is near pacific heights.
Example Output: 1

Example Input: System Reference: x is a french and restaurant in the riverside area near x.
Original Reference: x is a french restaurant in the riverside area near x and x.
Example Output:
0