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: arabian nights restaurant 's address is 2345 mission street.
Original Reference: the address to the arabian nights restaurant is 2345 mission street.
Example Output: 1

Example Input: System Reference: x is a high-end restaurant located in riverside near x.
Original Reference: x is a restaurant in the riverside area near x.
Example Output: 1

Example Input: System Reference: where is it near?
Original Reference: where would you like to dine nearby?.
Example Output:
1