#include <bits/stdc++.h>   using namespace std;   int main() {     int n;     cin >> n;     vector<int> a;     vector<string> ss;     bool possible = false;     for (int i = 0; i < n; ++i) {       string s;       cin >> s;       if (!possible) {         if (s.substr(0, 2) ==  OO ) {           possible = true;           s[0] =  + ;           s[1] =  + ;         } else if (s.substr(3, 2) ==  OO ) {           possible = true;           s[3] =  + ;           s[4] =  + ;         }       }       ss.push_back(s);     }     if (possible) {       cout <<  YES n ;       for (int j = 0; j < n; ++j) {         cout << ss[j] <<   n ;       }     } else {       cout <<  NO ;     }     return 0;   }   