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 centre of town on the riverside, near to x.
Original Reference: if you would like to visit a nice restaurant, i would suggest x near x by the riverside, in the centre of the city. .

Output: 1


Input: Consider Input: System Reference: fifth floor serves lounge and is good for dinner.
Original Reference: fifth floor is good for dinner and lounge.

Output: 0


Input: Consider Input: System Reference: marlowe, is near the mission bay.
Original Reference: marlowe is near mission bay.


Output: 1