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: 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. the phone number is 4157509518.
Example Output: 0

Example Input: System Reference: x is a restaurant in the moderate price range located in the x area.
Original Reference: x is a restaurant in the x area, in the moderate price range .
Example Output: 1

Example Input: System Reference: where would you like it to be near to?
Original Reference: please confirm your request for a hotel near where?.
Example Output:
0