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 a moderately priced indian restaurant located in the x area.
Original Reference: x is a restaurant that has indian food at a moderate price in x.
Example Output: 1

Example Input: System Reference: x is a restaurant on the riverside called located at the riverside and at is.
Original Reference: x is a cheap fast food restaurant near the river.
Example Output: 0

Example Input: System Reference: there is a hotel called in the san remo hotel and in the area of north beach.
Original Reference: the north beach has hotel called san remo hotel.
Example Output:
0