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.

Q: System Reference: thank you the grand hyatt san francisco allows dogs.
Original Reference: grand hyatt san francisco is a hotel where dogs are allowed.

A: 0
****
Q: System Reference: may i ask near where?
Original Reference: can i help you find something near a particular attraction?.

A: 0
****
Q: System Reference: x is a restaurant on the riverside, x near x and.
Original Reference: x is a restaurant in the riverside and x areas, near x. .

A:
0
****