You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
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.

System Reference: there is a chinese restaurant on x called x.
Original Reference: x is a chinese restaurant in x.
Solution: 1
Why? The system reference is grammatically correct and fluent.

New input: System Reference: no place other than la ciccia who does not allow kids on bernal heights at a moderate price.
Original Reference: la ciccia is the only restaurant of moderate -ly priced where kid -s are allowed located in the bernal heights area.
Solution:
0