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: i apologize spruce is the only restaurant near presidio heights that is good for dinner, and does not allow kids.
Original Reference: i am sorry but there is no place other than spruce that does not allow child -s, is good for dinner, and is near presidio heights.

Output: 1


Input: Consider Input: System Reference: x is an italian take-out restaurant that provides takeaway pizza.
Original Reference: x is a takeaway restaurant where you can find italian food.

Output: 1


Input: Consider Input: System Reference: restaurant ducroix does not allow kids, their address is 690 sacramento street, their phone number is 4153917195, and their is 94111.
Original Reference: restaurant ducroix does not allow child -s, its address is 690 sacramento street, its phone number is 4153917195, and its postcode is 94111.


Output: 0