func_code_string: #include <bits/stdc++.h>   using namespace std;   int main(int argc, char** argv) {     char s[3][3];     bool is = false;     for (int i = 0; i < 3; i++) {       for (int j = 0; j < 3; j++) {         cin >> s[i][j];         if (s[i][j] ==  X ) is = true;       }     }     int i = 0, j = 0;     bool isY = true;     for (int i = 0; i < 3; i++) {       for (int j = 0; j < 3; j++)         if (s[i][j] != s[2 - i][2 - j]) isY = false;     }     if (isY)       cout <<  YES ;     else       cout <<  NO ;     return 0;   }   