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: there is a indian restaurant called dosa on valencia.
Original Reference: dosa on valencia restaurant serves indian food.

Ex Output:
1


Ex Input:
System Reference: vicoletto, is cheap.
Original Reference: vicoletto is a cheap restaurant.

Ex Output:
0


Ex Input:
System Reference: pad thai restaurant has cheap prices and the phone number is 4152854210.
Original Reference: pad thai restaurant has cheap price -s and the phone number is 4152854210.

Ex Output:

1