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: x is an italian restaurant in the moderate price range located in the x area.
Original Reference: x is an italian restaurant near x with a moderate pricerange.

Output: 1


Input: Consider Input: System Reference: inn on castro is located at 321 castro st and the phone number is 4158610321.
Original Reference: the inn on castro phone number is 4158610321 and the address is 321 castro st.

Output: 0


Input: Consider Input: System Reference: where would you like it to be near to?
Original Reference: would you like to see the closest hotel -s are at your location?.


Output: 0