func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n, x = 1;     cin >> n;     string arr[n];     for (int i = 0; i < n; i++) {       cin >> arr[i];     }     for (int i = 0; i < n && x == 1; i++) {       string s = arr[i];       for (int j = 0; j < 5; j++) {         if (s[j] ==  O  && s[j + 1] ==  O ) {           cout <<  YES  << endl;           s[j] =  + ;           s[j + 1] =  + ;           arr[i] = s;           x = 0;           break;         }       }     }     if (x == 0) {       for (int m = 0; m < n; m++) {         cout << arr[m] << endl;       }     } else {       cout <<  NO  << endl;     }   }   