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: inn on castro is located at 321 castro st and the phone number is 4158610321.
Original Reference: the inn on castro phone number is 4158610321 and the address is 321 castro st.
Example Output: 0

Example Input: System Reference: so you want a cheap place to eat?
Original Reference: so you want a cheap place to eat?.
Example Output: 0

Example Input: System Reference: i am sorry but there are no hotels in the mastro area that match those requirements allows dogs.
Original Reference: this hotel is in the mastro area, and dogs are allowed.
Example Output:
1