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: i am sorry just to confirm you are looking for a restaurant good for any meal?
Original Reference: i am sorry. just to confirm. you are looking for a restaurant good for any meal?.
Example 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: red door cafe 's address is 1608 bush street.
Original Reference: the address to red door cafe is 1608 bush street.
Example Output:
1