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 a restaurant in the x, riverside to located and x.
Original Reference: x is a restaurant in the x and riverside area near x and x.
Example Output: 0

Example Input: System Reference: x is an expensive chinese restaurant near x.
Original Reference: x is an expensive chinese restaurant near x.
Example Output: 1

Example Input: System Reference: there are 2 hotels in the north beach area if whether dogs are allowed does not matter.
Original Reference: the are 2 hotel -s in the area of north beach available if you do not care whether or not they allow dogs.
Example Output:
0