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 an expensive restaurant, in the riverside area of town.
Original Reference: x is a restaurant on the riverside that is in the expensive price range.

Output: 1


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: fairmont heritage place c ghirardelli square has a ultra high end price range in the area of russian hill.
Original Reference: fairmont heritage place c ghirardelli square in the russian hill are is in the ultra high end price range.


Output: 0