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: fringale, is a nice restaurant near mission bay, and is good for dinner.
Original Reference: there is a nice restaurant near mission bay named fringale, and is good for dinner.

Ex Output:
1


Ex Input:
System Reference: inn on castro is located at 321 castro st and the phone number is 4158610321.
Original Reference: the inn on castro phone number is 4158610321 and the address is 321 castro st.

Ex Output:
0


Ex Input:
System Reference: i am sorry i am not finding any hotels in the lower pacific heights area.
Original Reference: i am not finding a hotel in lower pacific heights, sorry.

Ex Output:

1