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.

Ex Input:
System Reference: there is a hotel called in the holiday inn express hotel san francisco fishermans wharf and in the area of fishermans wharf.
Original Reference: the holiday inn express hotel san francisco fishermans wharf is in the area of fishermans wharf.

Ex Output:
0


Ex Input:
System Reference: just beijing restaurant near mission terrace.
Original Reference: the beijing restaurant is the only place near the mission terrace.

Ex Output:
1


Ex Input:
System Reference: inn at the presidio is the only match in the presidio area.
Original Reference: there are no other matches beyond inn at the presidio in the are of presidio.

Ex Output:

0