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: marlowe, is in the hayes valley or mission bay call 4159745599.
Original Reference: the marlowe is in the hayes valley or mission bay area. the phone number is 4159745599.
Example Output: 1

Example Input: System Reference: x is an expensive restaurant, in the x area near x, and x.
Original Reference: over in x there is an expensive restaurant called x, a bit pricy but worth the trip x near x between x .
Example Output: 1

Example Input: System Reference: the phone number for arabian nights restaurant is 4156481444.
Original Reference: arabian nights restaurant 's phone number is 4156481444.
Example Output:
1