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: singapore malaysian restaurant, is in the hayes valley or richmond district call 4157509518.
Original Reference: singapore malaysian restaurant is in the hayes valley or richmond district. the phone number is 4157509518.
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: what part of the city are you looking for?
Original Reference: what part would you like to be in?.
Example Output:
1