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: where is it near?
Original Reference: where are you looking nearby?.

Output: 1


Input: Consider Input: System Reference: x is a restaurant its phone number is x.
Original Reference: x is a restaurant and its phone number is x.

Output: 1


Input: Consider Input: System Reference: seoul garden, is in the are of hayes valley or little osaka.
Original Reference: the seoul garden is in the hayes valley or little osaka area.


Output: 0