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 high-end restaurant located in riverside near x.
Original Reference: x is a restaurant in the riverside area near x.

Ex Output:
1


Ex Input:
System Reference: inn on castro is near castro has internet.
Original Reference: inn on castro has internet in the castro area.

Ex Output:
1


Ex Input:
System Reference: x is a french restaurant in the riverside area near x, and x.
Original Reference: x is a french restaurant in the riverside area near x and x.

Ex Output:

1