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 phone number for chez maman is 4158247166.
Original Reference: chez maman 's phone number is 4158247166.
Example Output: 1

Example Input: System Reference: he san francisco marriott marquis is located near soma.
Original Reference: the san francisco marriott marquis is near soma.
Example Output: 0

Example Input: System Reference: x is a restaurant in x, near x.
Original Reference: x is a restaurant in the x area near x.
Example Output:
0