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: ristorante parma is a cheap restaurant near marina cow hollow.
Original Reference: ristorante parma is in the cheap price range and it is near marina cow hollow.
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: x is a french restaurant in the riverside area near x.
Original Reference: x is a restaurant in the riverside area that serves french food. it is near the x.
Example Output:
1