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.

Input: Consider Input: System Reference: x is a restaurant in x, near to x and x.
Original Reference: x is a restaurant in the x area, near x and x. .

Output: 1


Input: Consider Input: System Reference: do you not to restaurant restaurants that are?
Original Reference: please confirm that you do not care what area the restaurant is located.

Output: 0


Input: Consider Input: System Reference: there is a hotel called in the holiday inn express hotel san francisco fishermans wharf and in the area of fishermans wharf.
Original Reference: holiday inn express hotel san francisco fishermans wharf is in the fishermans wharf area.


Output: 0