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: x is a moderately priced near x on and riverside.
Original Reference: x is a restaurant in the moderate price range near the x in the riverside area.

Ex Output:
0


Ex Input:
System Reference: x is a restaurant in the centre of town on the riverside near to x and near to x.
Original Reference: x is a restaurant in the city centre, near the riverside and x .

Ex Output:
0


Ex Input:
System Reference: the name of the restaurant is dosa on valencia.
Original Reference: the dosa on valencia restaurant.

Ex Output:

1