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: chow is a comfort food restaurant good for dinner near castro.
Original Reference: there is a nice restaurant called chow near castro, which serves comfort food and is good for dinner.
0

System Reference: x is an italian restaurant in x.
Original Reference: x is a restaurant that serves italian food in the x area.
1

System Reference: x is an indian restaurant in x and x.
Original Reference: x is an indian restaurant in the x and x areas.

1