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.

Input: Consider Input: System Reference: taiwan restaurant, is a nice restaurant near the inner richmond that allows kids, and is good for lunch.
Original Reference: taiwan restaurant is a good lunch place that allows kid -s near inner richmond.

Output: 1


Input: Consider Input: System Reference: he carl hotel is located near inner sunset.
Original Reference: the carl hotel is near inner sunset.

Output: 0


Input: Consider Input: System Reference: the the inn san francisco, near the mission does offer internet.
Original Reference: the inn san francisco has internet and is near the mission.


Output: 0