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: buena vista motor inn is near fort mason has internet.
Original Reference: buena vista motor inn in fort mason has internet.

Ex Output:
0


Ex Input:
System Reference: aux delices restaurant near russian hill serves vietnamese.
Original Reference: aux delices restaurant serves vietnamese food near russian hill.

Ex Output:
1


Ex Input:
System Reference: x is a restaurant in x on the river to area near x.
Original Reference: x is a restaurant in the x and riverside area near x.

Ex Output:

0