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 near castro has internet.
Original Reference: inn on castro has internet in the castro area.
Example Output: 1

Example Input: System Reference: where would you like it to be near to?
Original Reference: where would you like the hotel to be near to?.
Example Output: 0

Example Input: System Reference: the nob hill motor inn accepts credit cards in the nob hill area does not allow dogs.
Original Reference: nob hill motor inn accepts credit card -s near nob hill and does not allow dogs.
Example Output:
0