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: there are 239 restaurants available serving any meal.
Original Reference: there are 239 restaurant -s available serving any meal.
Example Output: 1

Example Input: System Reference: arabian nights restaurant, is in the are of hayes valley or noma.
Original Reference: the arabian nights restaurant is in hayes valley or noma.
Example Output: 0

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