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: there are 0 restaurants that allow kids, and serve basque.
Original Reference: there are 0 basque restaurant -s that allow kid -s.
Example Output: 1

Example Input: System Reference: the inn on castro is located in the castro area.
Original Reference: inn on castro is in the area of the castro.
Example Output: 0

Example Input: System Reference: there are 2 cheaply priced restaurants in mission dolores.
Original Reference: 2 restaurant -s  are listed as cheap in the area of mission dolores.
Example Output:
1