// 20:50 - 21:00 #include #define MAX 100 int main(void) { int arr[MAX]; int counter = 0; while (scanf("%d,", &arr[counter]) != EOF) { counter++; } for (int i = 0, end = counter / 2; i < end; i++) { if (arr[i] != arr[counter - i - 1]) { printf("No"); return 0; } } printf("Yes"); return 0; }