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.

Ex Input:
System Reference: x is a japanese restaurant that provides chinese takeaway near x and x.
Original Reference: x is a japanese restaurant that provides chinese takeaway near x and x.

Ex Output:
1


Ex Input:
System Reference: hotel drisco is near pacific heights has internet.
Original Reference: hotel drisco is in pacific heights and has internet.

Ex Output:
0


Ex Input:
System Reference: maverick, is in hayes valley serves new american food.
Original Reference: there is a nice restaurant called maverick in the hayes valley area that serves new american.

Ex Output:

0