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: i am sorry there is no match near haight that allows dogs.
Original Reference: there are no hotel -s near haight that allow dogs.

Output: 1


Input: Consider Input: System Reference: can i double check you want a hotel that has internet?
Original Reference: please select whether you need a hotel with the intenet.

Output: 0


Input: Consider Input: System Reference: can i confirm what area you are looking for a hotel near?
Original Reference: where does it need to be near to?.


Output: 0