func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n, m;     cin >> n >> m;     char a[n][m];     int c = 0;     int column_no;     int row_number;     for (int i = 0; i < n; i++)       for (int j = 0; j < m; j++) {         cin >> a[i][j];         if (a[i][j] ==  B  && c == 0) {           column_no = j + 1;           row_number = i + 1;         }         if (a[i][j] ==  B ) c++;       }     double s = sqrt(c);     if (c == 1)       cout << row_number <<     << column_no;     else {       int r = s / 2;       cout << row_number + r <<     << column_no + r;     }   }   