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: the richmond is in hayes valley or inner richmond south at the address is 615 balboa street, and the phone number is 4153798988.
Original Reference: the richmond in the hayes valley or inner richmond address is 615 balboa street. the phone number is 4153798988.

Output: 0


Input: Consider Input: System Reference: red door cafe has cheap prices and the phone number is 4152828283.
Original Reference: the red door cafe is cheap. their phone number is 4152828283.

Output: 1


Input: Consider Input: System Reference: the hotel majestic, near the japantown does offer internet.
Original Reference: the hotel majestic is near japantown and has internet.


Output: 0