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: there is a hotel called in the holiday inn express hotel san francisco fishermans wharf and in the area of fishermans wharf.
Original Reference: the holiday inn express hotel san francisco fishermans wharf is in the area of fishermans wharf.
Example Output: 0

Example Input: System Reference: x is a moderately priced near x on and riverside.
Original Reference: x is a restaurant in the moderate price range near the x in the riverside area.
Example Output: 0

Example Input: System Reference: arabian nights restaurant has 2 locations in hayes valley or noma, the address is 2345 mission street, and the phone number is 4156481444.
Original Reference: arabian nights restaurant is in hayes valley or noma at 2345 mission street, you can call at 4156481444.
Example Output:
1