func_code_string: #include <bits/stdc++.h>   using namespace std;   int n, m, r1, c1, r2, c2;   char a[120][120];   int main() {     cin >> n >> m;     bool sign = true;     for (int i = 1; i <= n; i++)       for (int j = 1; j <= m; j++) cin >> a[i][j];     for (int i = 1; i <= n; i++)       for (int j = 1; j <= m; j++)         if (a[i][j] ==  B ) {           if (sign) {             r1 = i;             c1 = j;             sign = false;           }           r2 = i;           c2 = j;         }     cout << (r1 + r2) / 2 <<     << (c1 + c2) / 2;     return 0;   }   