#include <cstdio>
#include <cstring>
int main(void) {
	int n, m;
	char ans[11], str[11], snuke[11] = "snuke";
	scanf("%d %d", &n, &m);
	for (int i = 1; i <= n; i++) {
		for (int j = 1; j <= m; j++) {
			scanf("%s", str);
			if (!strcmp(str, snuke)) {
				ans[0] = j - 1 + 'A';
				ans[1] = i;
			}
		}
	}
	printf("%c%d", ans[0], ans[1]);
}