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 an italian restaurant in the riverside area, near x.
Original Reference: x is a restaurant in the riverside area near the x that serves italian food.
Example Output: 1

Example Input: System Reference: the phone number for campton place restaurant is 4157815555.
Original Reference: the phone number for campton place restaurant is 4157815555.
Example Output: 1

Example Input: System Reference: singapore malaysian restaurant, is in the hayes valley or richmond district call 4157509518.
Original Reference: singapore malaysian restaurant is in the hayes valley or richmond district. their phone number is 4157509518.
Example Output:
0