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: can i double check you do not care if dogs are allowed at the hotel?
Original Reference: can i double check you do not care if dogs are allowed?.

Ex Output:
1


Ex Input:
System Reference: x is a chinese food restaurant in the riverside area, near x and x.
Original Reference: x is a chinese restaurant in the riverside area near x and x.

Ex Output:
1


Ex Input:
System Reference: where would you like it to be near to?
Original Reference: what would you like the hotel to be located near to?.

Ex Output:

0