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: buena vista motor inn is near fort mason has internet.
Original Reference: buena vista motor inn in the fort mason area has internet.
Example Output: 0

Example Input: System Reference: what part of the city are you looking for?
Original Reference: what area of the city would you like to be in.
Example Output: 1

Example Input: System Reference: yes there is the inn at the presidio and in the presidio area that allows dogs.
Original Reference: the inn at the presidio, located in the presidio area, does allow dogs.
Example Output:
0