#include <bits/stdc++.h>

using namespace std;

typedef long long ll;

const ll mod = 1e4 + 7;

int main() {
  int H, W;
  cin >> H >> W;
  // vector<vector<string>> s(H, vector<string>(W));
  for (int i = 0; i < H; ++i) {
    for (int j = 0; j < W; ++j) {
      string s;
      cin >> s;
      if (s == "snuke") cout << (char)('A' + j) << i + 1 << endl;
    }
  }
}