func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n, m;     cin >> n >> m;     vector<pair<int, int>> v;     int row[1010] = {0}, col[1010] = {0};     char g[1010][1010];     for (int i = 0; i < n; i++)       for (int j = 0; j < m; j++) {         cin >> g[i][j];         if (g[i][j] ==  * ) row[i]++, col[j]++, v.push_back({i, j});       };     int mx_col = 0, mx_row = 0, max_covered = 0;     for (int i = 0; i < n; i++)       for (int j = 0; j < m; j++)         if (row[i] + col[j] - (g[i][j] ==  * ) > max_covered)           mx_row = i, mx_col = j,           max_covered = row[i] + col[j] - (g[i][j] ==  * );     for (auto i : v)       if (i.first != mx_row && i.second != mx_col) {         cout <<  NO ;         return 0;       }     cout <<  YES  << endl << mx_row + 1 <<     << mx_col + 1 << endl;   }   