#include<stdio.h>
#include<string.h>
int main() {
	int n, m,pos[3];
	char s1[6],s2[6]="snuke";
	scanf("%d %d", &n, &m);
	for (int i = 1; i <= n; i++) {
		for (int j = 1; j <= m; j++) {
			scanf("%s", &s1);
			if (!strcmp(s1, s2)) {
				pos[0] = j;
				pos[1] = i;
			}
		}
	}
	printf("%c%d", pos[0] + 64, pos[1]);
	return 0;
}