func_code_string: #include <bits/stdc++.h>   using namespace std;   int main(int argc, char const *argv[]) {     int n, m;     char c[2000][2000];     int rowcount[2000];     int colcount[2000], wallcount = 0;     for (int i = 0; i < 2000; i++) {       rowcount[i] = 0;       colcount[i] = 0;     }     scanf( %d , &n);     scanf( %d , &m);     for (int i = 0; i < n; i++) scanf( %s , c[i]);     for (int i = 0; i < n; i++) {       for (int j = 0; j < m; j++) {         if (c[i][j] ==  * ) {           rowcount[i]++;           colcount[j]++;           wallcount++;         }       }     }     for (int i = 0; i < n; i++) {       for (int j = 0; j < m; j++) {         if (c[i][j] ==  *  && rowcount[i] + colcount[j] - 1 == wallcount ||             c[i][j] ==  .  && rowcount[i] + colcount[j] == wallcount) {           printf( YES n );           printf( %d %d n , i + 1, j + 1);           return 0;         }       }     }     printf( NO n );     return 0;   }   