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 nob hill motor inn accepts credit cards in nob hill does not allow dogs.
Original Reference: nob hill motor inn accepts credit card -s near nob hill and does not allow dogs.
Example Output: 0

Example Input: System Reference: x is a restaurant its phone number is x.
Original Reference: x is a restaurant and its phone number is x.
Example Output: 1

Example Input: System Reference: i am sorry i am not finding any hotels in the opera plaza area.
Original Reference: i am sorry but i have no matches for a hotel in the area of opera plaza.
Example Output:
1