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: marlowe, is in the hayes valley or mission bay call 4159745599.
Original Reference: the marlowe is in the hayes valley or mission bay area. the phone number is 4159745599.
Example Output: 1

Example Input: System Reference: there are 54 cheap restaurants where kids are allowed.
Original Reference: there are 54 restaurant -s allow kid -s and are cheap.
Example Output: 1

Example Input: System Reference: shangri la vegetarian restaurant, is in the hayes valley or golden gate park call 4157312548.
Original Reference: sure, the phone number to shangri la vegetarian restaurant is 4157312548 and the restaurant has too location -s in hayes valley and golden gate park.
Example Output:
0