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: thank you the grand hyatt san francisco allows dogs.
Original Reference: grand hyatt san francisco is a hotel where dogs are allowed.
Example Output: 0

Example Input: System Reference: x is a french restaurant in the riverside area near x.
Original Reference: x is a restaurant in the riverside area that serves french food. it is near the x.
Example Output: 1

Example Input: System Reference: the phone number for chow is 4155522469.
Original Reference: the phone number for chow is 4155522469.
Example Output:
1