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: spruce, is a nice restaurant near presidio heights that does not allow children.
Original Reference: there is a nice restaurant named spruce close to presidio heights that does not allow child -s.
Example Output: 1

Example Input: System Reference: where would you like it to be near to?
Original Reference: what area are you looking for?.
Example Output:
0