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.

Example Input: System Reference: the inn on castro is located in the castro area.
Original Reference: inn on castro is in the area of the castro.
Example Output: 0

Example Input: System Reference: what type of food would you like to eat?
Original Reference: what type of food would you like to eat?.
Example Output: 0

Example Input: System Reference: x is a restaurant in the centre of town on the riverside near to x and near to x.
Original Reference: x is a restaurant in the city centre and riverside area near x.
Example Output:
0