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 restaurant on the riverside called located at the riverside and at is.
Original Reference: x is a cheap fast food restaurant near the river.

Ex Output:
0


Ex Input:
System Reference: the address for inn on castro is 321 castro st, 94114.
Original Reference: the address of the inn on castro is 321 castro st, 94114.

Ex Output:
1


Ex Input:
System Reference: crustacean restaurant, is good for dinner.
Original Reference: crustacean restaurant is also good for dinner.

Ex Output:

1