#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i,s,n) for(int i = s; i < (int)(n); i++)

int main() {
  int h,w;
  cin >> h >> w;
  rep(i,0,h){
    rep(j,0,w){
      string s;
      cin >> s;
      if(s == "snuke"){
        char a = 'A'+j;
        cout << a << i+1 << endl;
        return 0;
      }
    }
  }
}