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: i am sorry i am not finding any hotels in the telegraph hill area.
Original Reference: no hotel in telegraph hill that does not allow dogs.

Ex Output:
1


Ex Input:
System Reference: may i ask near where?
Original Reference: what area are you looking in?.

Ex Output:
0


Ex Input:
System Reference: i am sorry there is no information on the riverside, near x.
Original Reference: i am sorry there is no information matching the constraints in the riverside area near x.

Ex Output:

0