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: unfortunately 0 restaurants serve afghan for lunch.
Original Reference: there are 0 restaurant -s that serve afghan food and are good for lunch.

Ex Output:
1


Ex Input:
System Reference: x is an expensive chinese restaurant near x.
Original Reference: x is an expensive chinese restaurant near x.

Ex Output:
1


Ex Input:
System Reference: the hotel monaco san francisco c a kimpton hotel is in the pricey price range.
Original Reference: there is a hotel named the hotel monaco san francisco c a kimpton hotel that is pricey.

Ex Output:

0