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 italian restaurant in the riverside area, near x.
Original Reference: x is a restaurant in the riverside area near the x that serves italian food.

Output: 1


Input: Consider Input: System Reference: inn on castro is located at 321 castro st and the phone number is 4158610321.
Original Reference: the inn on castro is located at 321 castro st and the phone number is 4158610321.

Output: 0


Input: Consider Input: System Reference: gracias madre is in the area of mission dolores and it is in the cheap price range.
Original Reference: gracias madre is a cheap place in mission dolores.


Output: 0