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: x is an expensive restaurant, in the x area near x, and x.
Original Reference: over in x there is an expensive restaurant called x, a bit pricy but worth the trip x near x between x .
Example Output: 1

Example Input: System Reference: inn on castro is located at 321 castro st and the phone number is 4158610321.
Original Reference: the inn on castro phone number is 4158610321 and the address is 321 castro st.
Example Output: 0

Example Input: System Reference: may i ask near where?
Original Reference: you are looking for a french restaurant near where?.
Example Output:
0