#include <bits/stdc++.h>
using namespace std;
long long k, n, i, j, a[200][200], x, y, a2[200][200], mx, q, q2;
int main() {
  string s;
  cin >> n >> k;
  x = 1;
  y = 1;
  for (i = 1; i <= n; i++) {
    cin >> s;
    for (j = 0; j < n; j++)
      if (s[j] == '.') a[i][j + 1] = 1;
  }
  for (i = 1; i <= n; i++)
    for (j = 1; j <= n; j++) {
      for (q = j; q <= j + k - 1; q++)
        if (a[i][q] == 0)
          break;
        else if (q == j + k - 1)
          for (q2 = j; q2 <= j + k - 1; q2++) a2[i][q2]++;
      for (q = i; q <= i + k - 1; q++)
        if (a[q][j] == 0)
          break;
        else if (q == i + k - 1)
          for (q2 = i; q2 <= i + k - 1; q2++) a2[q2][j]++;
    }
  for (i = 1; i <= n; i++)
    for (j = 1; j <= n; j++)
      if (a2[i][j] > mx) {
        x = i;
        y = j;
        mx = a2[i][j];
      }
  cout << x << ' ' << y;
  return 0;
}
