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.

System Reference: where is it near?
Original Reference: what is it near by?.
1

System Reference: x is a high-end restaurant located on the riverside close to x it is near x.
Original Reference: close to both the x and x you will find the riverside restaurant, the x .
1

System Reference: well sorry but no hotels in the inexpensive price range allow dogs.
Original Reference: well sorry but no hotel -s in the inexpensive price range allow dogs.

0