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 the moderate price range located in the x area.
Original Reference: x is a restaurant in the x area, in the moderate price range .

Output: 1


Input: Consider Input: System Reference: x is a chinese restaurant in x, near x.
Original Reference: x is a restaurant near x in the x area that serves chinese food.

Output: 1


Input: Consider Input: System Reference: the wharf inn, phone number is 4156737411, and the postcode is 94133.
Original Reference: the wharf inn phone number is 4156737411 and the post code is 94133.


Output: 0