H, W = list(map(int, input().split()))



for i in range(H):

    Si = input().split()

    for j in range(W):

        if Si[j] == "snuke":

            ans = chr(ord('A') + j)

            ans += str(i + 1)



print(ans)
H, W = list(map(int, input().split()))

key = "snuke"



for i in range(H):

    Si = input().split()

    if key in Si:

        j = Si.index(key)

        ans = chr(ord('A') + j)

        ans += str(i + 1)



print(ans)
H, W = list(map(int, input().split()))
for i in range(H):
    Si = input().split()
    for j in range(W):
        if Si[j] == "snuke":
            ans = chr(ord("A") + j)
            ans += str(i + 1)
print(ans)

H, W = list(map(int, input().split()))
key = "snuke"
for i in range(H):
    Si = input().split()
    if key in Si:
        j = Si.index(key)
        ans = chr(ord("A") + j)
        ans += str(i + 1)
print(ans)

+key = "snuke" -    for j in range(W): -        if Si[j] == "snuke": -            ans = chr(ord("A") + j) -            ans += str(i + 1) +    if key in Si: +        j = Si.index(key) +        ans = chr(ord("A") + j) +        ans += str(i + 1)