Problem:
 Score : 100 points    Problem Statement There is a grid with H rows and W columns.  The square at the i -th row and j -th column contains a string S_{i,j} of length 5 .  The rows are labeled with the numbers from 1 through H , and the columns are labeled with the uppercase English letters from A through the W -th letter of the alphabet.   Exactly one of the squares in the grid contains the string snuke . Find this square and report its location.  For example, the square at the 6 -th row and 8 -th column should be reported as H6 .      Constraints  1≦H, W≦26  The length of S_{i,j} is 5 .  S_{i,j} consists of lowercase English letters ( a - z ).  Exactly one of the given strings is equal to snuke .         Input The input is given from Standard Input in the following format:  H  W  S_{1,1}  S_{1,2}  ...  S_{1,W}  S_{2,1}  S_{2,2}  ...  S_{2,W}  :  S_{H,1}  S_{H,2}  ...  S_{H,W}       Output Print the labels of the row and the column of the square containing the string snuke , with no space inbetween.        Sample Input 1 15 10
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snuke snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake      Sample Output 1 H6       Sample Input 2 1 1
snuke      Sample Output 2 A1

Solution (Python):
h,w=map(int,input().split())
l=[]
import string
abc=string.ascii_uppercase
for i in range(h):
    li=list(map(str,input().split()))
    l.append(li)
for x in range(h):
    for y in range(w):
        if l[x][y] == 'snuke':
            print(abc[y]+str(x+1))

Solution (Python):
h,w = map(int,input().split())
s = [input().split() for _ in range(h)]
for i in range(h):
    for j in range(w):
        if s[i][j] == 'snuke':
            print(chr(ord('A') + j) + str(1 + i))

Solution (Python):
h,w = map(int,input().split())
s = [input().split() for _ in range(h)]
for i in range(h):
    for j in range(w):
        if s[i][j] == 'snuke':
            print(chr(ord('A') + j) + str(1 + i))

Solution (Python):
h, w = map(int, input().split())
s = [list(input().split()) for _ in range(h)]
a = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
for i in range(h):
    for j in range(w):
        if s[i][j] == "snuke":
            print(a[j] + str(i+1))

Solution (Python):
H, W = map(int, input().split())
S = [list(input().split()) for _ in range(H)]
for i in range(H):
    for j in range(W):
        if S[i][j] == 'snuke':
            print(chr(ord('A') + j) + str(1 + i))
            break

Solution (Python):
H,W=map(int,input().split())
alpha='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
for i in range(1,H+1):
  S=input().split()
  if 'snuke' in S:
    print(alpha[S.index('snuke')]+str(i))
    break

Solution (Python):
H,W = map(int,input().split())
S = [list(input().split()) for i in range(H)]
flag = True
for h in range(H):
    for w in range(W):
        if S[h][w] == 'snuke':
            id = [h,w]
            flag = False
            break
    if not flag:
        break
print(str(chr(w+65))+str(h+1))

Solution (Python):
h,w=map(int,input().split())
alphabets=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]
for i in range(h):
  a=list(input().split())
  for j in range(w):
    if a[j]=="snuke":
      print(alphabets[j]+str(i+1))
      break

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

Solution (Python):
H, W = map(int, input().split())
snuke = []
for i in range(H):
  snuke.append(list(input().split()))
for i in range(H):
  for j in range(W):
    if snuke[i][j] == "snuke":
      ans = [i, j]
      break

print(chr(65+ans[1])+str(ans[0]+1))

Solution (Python):
h,w=map(int, input().split())
for i in range(h):
  l = input().split()
  if 'snuke' in l:
    t=l.index('snuke')
    print('%s%d' % (chr(t+ord('A')), i+1))
    quit(0)

Solution (Python):
h,w=map(int,input().split())
for i in range(h):
  a=input()
  if 'snuke' in a:
    b=a.find('snuke')
    break
print(chr(ord('A')+b//6)+str(i+1))

Solution (Python):
h, w = map(int, input().split())
s = [input().split() for _ in range(h)]

for i in range(h):
    for j in range(w):
        if(s[i][j] == "snuke"):
            print(chr(64+(j+1))+str(i+1))

Solution (Python):
from itertools import product

H, W = map(int, input().split())
L = list("ABCDEFGHIJKLMNOPQRSTUVWXYZ")
S = [[str(_) for _ in input().split()] for _ in range(H)]

for i, j in product(range(H), range(W)):
    if S[i][j] == "snuke":
        break

res = L[j] + str(i+1)
print(res)

Solution (Python):
h, w = map(int,input().split())
alphabet_large = [chr(i) for i in range(65, 65+26)]

for i in range(1,h+1):
    S = list(map(str,input().split()))
    for j in range(w):
        if S[j] == 'snuke':
            print(alphabet_large[j] + str(i))
            exit()

Solution (Python):
h,w=map(int,input().split())
ansa,ansn="",0
for i in range(h):
  s=input().split()
  if "snuke" in s:
    ansa=[chr(ord('A')+j)for j in range(w)][s.index("snuke")]
    ansn=i+1
print(ansa+str(ansn))

Solution (Python):
H,W=map(int,input().split(' '))
S=[input().split(' ') for i in range(H)]
row = -1
for i in range(H):
    if 'snuke' in S[i]: row=i+1
col='ABCDEFGHIJKLMNOPQRSTUVWXYZ'[S[row-1].index('snuke')]
print(str(col)+str(row))

Solution (Python):
H,W = map(int,input().split())
S = [[i for i in input().split()] for _ in range(H)]

for h in range(H):                  
    for w in range(W):                      
        if S[h][w] == "snuke":              
            break
    else:
        continue 
    break
    
print(chr(ord("A")+w) + str(h+1))

Solution (Python):
h,w=[int(i) for i in input().split()]
s=[[j for j in input().split()] for i in range(h)]
abc="ABCDEFGHIJKLMNOPQRSTUVWXYZ"
result=""
for i in range(h):
    for j in range(w):
        if s[i][j]=="snuke":
            result=abc[j]+str(i+1)
            break
    if len(result)==2:
        break
print(result)

Solution (Python):
H, W = map(int,input().split())
S = [input().split() for _ in range(H)]

for i in range(H):
  for j in range(W):
    if(S[i][j] == "snuke"):
      print(chr(64+(j+1))+str(i+1))

Solution (Python):
h, w = map(int, input().split())
s = [input().split() for _ in range(h)]
al = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
for i in range(h):
  for j in range(w):
    if s[i][j] == "snuke":
      print("{}{}".format(al[j], i+1))
      exit()
    else:
      pass

Solution (Python):
H, W = [ int(x) for x in input().split() ]
Ss = [ input().split() for _ in range(H) ]

for i in range(H):
    for j in range(W):
        if Ss[i][j] == "snuke":
            ans = "{}{}".format(chr(j + ord('A')), i + 1)

print(ans)
print()

Solution (Python):
h, w = map(int, input().split())
s = []
for i in range(h):
    s += input().split()

idx = s.index("snuke")
if w != 1:
    col = (idx+1)%w
    alpha = chr(col+64)
else:
    alpha = "A"

row = idx//w+1
ans = alpha + str(row)
print(ans)

Solution (Python):
H, W = map(int, input().split())
Ssss = [input().split() for _ in range(H)]

for i in range(H):
    for j in range(W):
        if Ssss[i][j] == 'snuke':
            print(chr(j+ord('A')) + str(i+1))

Solution (Python):
N, M = map(int, input().split())
k = []
for i in range(N):
  t = list(map(str, input().split()))
  for j in range(M):
    if t[j] == "snuke":p = [i,j]
abc = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
print(abc[p[1]]+str(p[0]+1))

Solution (Python):
h,w,*a=open(0).read().split();b=a.index("snuke");w=int(w);print(chr(b%w+65)+str(b//w+1))

Solution (Python):
h,w,*a=open(0).read().split();b=a.index("snuke");print(chr(b%int(w)+65)+str(b//int(w)+1))

Solution (Python):
h,w,*a=open(0).read().split();b=a.index("snuke");w=int(w);print(chr(b%w+65)+str(b//w+1))

Solution (Python):
_,w,*a=open(0).read().split();w=int(w);i=a.index('snuke');print(chr(i%w+65)+str(i//w+1))

Solution (Python):

_,w,*a=open(0).read().split();w=int(w);i=a.index('snuke');print(chr(i%w+65)+str(i//w+1))

Solution (Python):
h,w,*a=open(0).read().split();b=a.index("snuke");print([chr(i)for i in range(65,91)][b%int(w)]+str(b//int(w)+1))

Solution (Python):
h,w,*a=open(0).read().split();b=a.index("snuke")
print([chr(i)for i in range(65,91)][b%int(w)]+str(b//int(w)+1))

Solution (Python):
H, W = [int(x) for x in input().split()]

for i in range(H):
  cols = input().split()
  
  if 'snuke' in cols:
    print(chr(ord('A') + cols.index('snuke')) + str(i + 1))

Solution (Python):
h, w = map(int, input().split())
c = []
for i in range(h):
    c.append([str(m) for m in input().split()])
ALPHA = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
for i in range(h):
    for j in range(w):
        if c[i][j] == "snuke":
            print(ALPHA[j],i + 1,sep="")

Solution (Python):
import string
h,w = (int(i) for i in input().split())
a = []
for i in range(h):
 a.append(list(input().split()))
query = string.ascii_uppercase
for j in range(h):
  for k in range(w):
    if a[j][k] == 'snuke':
      print(query[k]+str(j+1))

Solution (Python):
h,w = map(int,input().split())
s = []
for i in range(h):
    s.append(list(input().split()))
for i in range(h):
    for j in range(w):
        if s[i][j] == "snuke":
            print(chr(65+j)+str(i+1))
            exit()

Solution (Python):
h,w=map(int,input().split())
for i in range(h):
    q=list(input().split())
    for j in range(w):
        if q[j]=="snuke":
            print(chr(ord("A")+j)+str(i+1))

Solution (Python):
h,w=map(int,input().split())
q=[list(map(str,input().split()))for i in range(h)]
p=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]
for i in range(h):
    for j in range(w):
        if q[i][j]=="snuke":
            print(p[j]+str(i+1))

Solution (Python):
h,w = map(int,input().split())
for i in range(h):
    a = list(input().split())
    for j in range(w):
        if a[j] == 'snuke':
            print(chr(ord('A') + j) + str(i+1))
            exit()

Solution (Python):
h, w = map(int, input().split())
S = [input().split() for _ in range(h)]
alpha = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
for i in range(h):
  for j in range(w):
    if S[i][j] == "snuke":
      print(alpha[j] + str(i + 1))

Solution (Python):
H,W=map(int,input().split())

A=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]

for i in range(1,H+1):
    a=list(map(str,input().split()))
    for j in range(W):
        if a[j]=="snuke":
            print(A[j]+str(i))
            exit()

Solution (Python):
import string

H, W = list(map(int, input().split()))
S = [input().split() for i in range(H)]

for i in range(H):
    for j in range(W):
        if S[i][j] == 'snuke':
            ans = string.ascii_uppercase[j] + str(i + 1)
            break


print(ans)

Solution (Python):
h,w=map(int,input().split())
a=[input().split() for _ in range(h)]
for i in range(h):
  for j in range(w):
    if(a[i][j]=="snuke"):
      print(chr(65+j)+str(i+1))

Solution (Python):
import itertools
H, W = [int(_) for _ in input().split()]
S = [input().split() for _ in range(H)]
for i, j in itertools.product(range(H), range(W)):
    if S[i][j] == 'snuke':
        print('ABCDEFGHIJKLMNOPQRSTUVWXYZ'[j]+str(i+1))
        exit()

Solution (Python):
a, b = map(int, input().split())

car = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N',
'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']

for H in range(a):
	tmp = list(map(str, input().split()))
	for j in range(b):
		if tmp[j]=='snuke':
			ans = [car[j], str(H+1)]

print(''.join(ans))

Solution (Python):
H, W = map(int, input().split())
S = []
for i in range(H):
  S.append(input().split())
  
strl = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"

for i in range(H):
  for j in range(W):
    if S[i][j] == "snuke":
      print(strl[j] + str(i+1))
      exit(0)

Solution (Python):
H,M=map(int,input().split())
c=0
for i in range(1,H+1):
    S=input().split()
    for j in range(0,M):
        if S[j]=="snuke":
            a=i
            b=j
        else:
            c+=1

print(chr(ord('A')+b) + str(a))

Solution (Python):
h,w=map(int,input().split())
s=[input().split() for _ in range(h)]
x,y=0,0
for i in range(h):
    for j in range(w):
        if s[i][j]=="snuke":
            x,y=i,j
print(chr(y+ord('A'))+str(x+1))

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

Solution (Python):
h, w = map(int, input().split())
S = [input().split() for _ in range(h)]
for i in range(h):
    for j in range(w):
        if S[i][j] == 'snuke':
            print(chr(j+65) + str(i+1))

Solution (Python):
a,b=map(int, input().split())
s=[input().split() for i in range(a)]
al='abcdefghijklmnopqrstuvwxyz'
for j,i in enumerate(s):
    if 'snuke' in i:
        print(al[i.index('snuke')].upper()+str(j+1))
        break

Solution (Python):
from string import ascii_uppercase
  
def row_label(i):
    return str(i + 1)

def col_label(j):
    return ascii_uppercase[j]

def solve(s_list):
    for i in range(h):
        for j in range(w):
            if s_list[i][j] == 'snuke':
                return col_label(j) + row_label(i)

if __name__ == '__main__':
    (h, w) = (int(_) for _ in input().split())
    s_list = [list(input().split()) for _ in range(h)]
    print(solve(s_list))

Solution (Python):
H, W = map(int, input().split())
S = []
for i in range(H):
    s = list(input().split())
    S.append(s)
for i in range(H):
    alph = 'A'
    for j in range(W):
        if S[i][j] == "snuke":
            print(chr(ord(alph) + j) + str(i + 1))
            break

Solution (Python):
from string import ascii_uppercase
H, W = map(int, input().split())
for i in range(H):
    for c, s in zip(ascii_uppercase, input().split()):
        if s == 'snuke':
            print('{}{}'.format(c, i + 1))
            exit()

Solution (Python):
h, w = map(int, input().split())
s = [input().split() for i in range(h)]
a = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K",
     "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V",
     "W", "X", "Y", "Z"]
for i in range(h):
    for j in range(w):
        if s[i][j] == "snuke":
            print("{}{}".format(a[j], i + 1))

Solution (Python):
h,w=map(int,input().split())
t=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]
for i in range(h):
    a=list(input().split())
    if "snuke" in a:
        print("{}{}".format(t[a.index("snuke")],i+1))
        break

Solution (Python):



def main():
    h, w = map(int, input().split())
    s = [list(map(str, input().split())) for _ in range(h)]
    alpha = [chr(ord('A') + i) for i in range(26)]

    for i in range(h):
        for j in range(w):
            if s[i][j] == 'snuke':
                print(alpha[j] + str(i + 1))
                exit()


if __name__ == '__main__':
    main()

Solution (Python):
import string
alph = string.ascii_uppercase

h, w = map(int, input().split())
s = [input().split() for _ in range(h)]
for i in range(h):
  for j in range(w):
    if s[i][j] == "snuke":
      print(alph[j], str(i + 1), sep="")

Solution (Python):
def a_where_is_snuke(H, W, S):
    for r, row in enumerate(S):
        for c, col in enumerate(row):
            if col == 'snuke':
                ans = str(chr(ord('A') + c)) + str(r + 1)
                break
        else:
            continue
        break
    return ans

H, W = [int(i) for i in input().split()]
S = [input().strip().split() for _ in range(H)]
print(a_where_is_snuke(H, W, S))

Solution (Python):
h, w = map(int, input().split())
for i in range(h):
    col = input().split()
    for j in range(w):
        if col[j] == 'snuke':
            print(chr(ord('A')+j)+str(i+1))

Solution (Python):
h,w = map(int,input().split())
A = ord("A")

for i in range(h):
    s = list(map(str,input().split()))
    for j in range(w):
        if s[j] == "snuke":
            print(chr(A+j)+str(i+1))

Solution (Python):
from collections import defaultdict,deque
import sys,heapq,bisect,math,itertools,string,queue,datetime
sys.setrecursionlimit(10**8)
INF = float('inf')
mod = 10**9+7
eps = 10**-7
def inp(): return int(input())
def inpl(): return list(map(int, input().split()))
def inpls(): return list(input().split())

H,W = inpl()
ss = [inpls() for i in range(H)]

for y in range(H):
	for x in range(W):
		if ss[y][x] == 'snuke':
			ans = chr(65+x) + str(y+1)
			print(ans)
			sys.exit()

Solution (Python):
h,w=map(int,input().split())
for i in range(h):
      l=input().split()
      for j in range(len(l)):
            if l[j]=="snuke":
                  print("{}{}".format(chr(65+j),i+1))

Solution (Python):
h,w = map(int, raw_input().split())
snuke = None
for j in range(h):
  fs = raw_input().split()
  assert len(fs) == w
  for i, f in enumerate(fs):
    if f == 'snuke':
      snuke = '%s%d' % (chr(0x41+i), 1+j)
print snuke

Solution (Python):
h,w=map(int,input().split())
for i in range(h):
  s=input().split()
  if 'snuke' in s:
    print(chr(ord('A')+s.index('snuke'))+str(i+1))
    break

Solution (Python):
H, W = map(int, input().split())
S = [list(input().split()) for i in range(H)]

for i in range(H):
    for j in range(W):
        if S[i][j] == "snuke":
            print(chr(ord("A")+j)+str(i+1))
            exit()

Solution (Python):
H, W = map(int, input().split())
M = [input().split() for _ in range(H)]
for i in range(H):
    for j in range(W):
        if M[i][j] == 'snuke':
            print('ABCDEFGHIJKLMNOPQRSTUVWXYZ'[j] + str(i + 1))
            exit()

Solution (Python):
al = [chr(i) for i in range(65,65+26)]
H, W = list(map(int, input().split()))
S = []
for i in range(H):
	S.append(list(input().split()))
for i in range(H):
	for j in range(W):
		if S[i][j] == "snuke":
			print(al[j] + str(i + 1))

Solution (Python):
[h,w]=[int(i) for i in input().split()]
s=[]
a=-1
al="ABCDEFGHIJKLMNOPQRSTUVWXYZ"
for j in range(h):
    
    s.append([k for k in input().split()])
    if s[j].count("snuke")==1:
        for l in s[j]:
            a=a+1
            if l=="snuke":
                break

        print(al[a]+str(j+1))
        break

Solution (Python):
h,w=map(int,input().split())
for i in range(h):
    a=list(input().split())
    for j in range(w):
        if a[j]=="snuke":
            print(chr(65+j)+str(i+1))

Solution (Python):
e=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]
h,w=map(int,input().split())
a=[input().split() for _ in range(h)]
for i in range(h):
    for j in range(w):
        if a[i][j]=="snuke":
            print(e[j]+str((i+1)))

Solution (Python):
H, W = map(int, input().split())
S = [input().split() for k in range(H)]
A = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"

for k in range(H):
    for l in range(W):
        if S[k][l]=="snuke":
            print("".join([A[l],str(k+1)]))
            exit(0)

Solution (Python):
H,W = [int(i) for i in input().split()]
S = [[i for i in input().strip().split()] for j in range(H)]

for h in range(H):
  for w in range(W):
    if S[h][w] == 'snuke':
      ans = '{}{}'.format(chr(ord('A')+w), h+1)
      break
print(ans)

Solution (Python):
h, w = map(int, input().split())
n2a = ["A", "B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]

for i in range(h):
    row = input().split()
    for j in range(w):
        if(row[j]=="snuke"):
            print(n2a[j] + str(i+1))

Solution (Python):
H,W=map(int,input().split())
alpha = [chr(x) for x in range(ord('A'),ord('Z')+1)]
for i in range(H):
  tmp = input().split()
  if 'snuke' in tmp:
    for j in range(W):
      if tmp[j] == 'snuke':
        print(alpha[j]+str(i+1))

Solution (Python):
h,w = (int(i) for i in input().split())
s = [[i for i in input().split()] for i in range(h)]
for i in range(h):
	for j in range(w):
		if s[i][j]=="snuke": x,y = str(i+1),chr(j+65)
print(y+x)

Solution (Python):
h,w=[int(i) for i in input().split()]
alpha=[chr(i) for i in range(65, 65+26)]
s=[]
for i in range(h):
    s.append(input().split())

for i in range(h):
    for j in range(w):
        if s[i][j]=="snuke":
            print( alpha[j] +str(i+1))

Solution (Python):
import string
H, W = map(int, input().split())
a = []
for i in range(H):
    a.append(input().split())

for i in range(H):
    for j in range(W):
        if a[i][j] == 'snuke':
            print(string.ascii_uppercase[j]+str(i+1))
            break

Solution (Python):

N, M = list(map(int,input().split()))
a = []
for i in range(N):
    a.append(list(input().split()))
b = 0
c = 0
d = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
for i in range(N):
    for j in range(M):
        if a[i][j] == 'snuke':
            b = i+1
            c = j

print(d[c]+str(b))

Solution (Python):
import math
import sys

def getinputdata():

    
    array_result = []
    
    data = input()

    
    array_result.append(data.split(" "))

    flg = 1

    try:


        while flg:

            data = input()

            array_temp = []

            if(data != ""):
                
                array_result.append(data.split(" "))

                flg = 1

            else:

                flg = 0
    finally:


        return array_result





arr_data = getinputdata()

h = int(arr_data[0][0])
w = int(arr_data[0][1])

strdata="ABCDEFGHIJKLMNOPQRSTUVWXYZ"



for i in range(0,w):
   
    
    for j in range(0,h):
        
        if arr_data[j+1][i]=="snuke":

             print(strdata[i] + str(j+1))

Solution (Python):
a = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']
h, w = map(int, input().split())
for i in range(h):
  s = input().split()
  for j in range(w):
    if s[j] == 'snuke':
      print('{}{}'.format(a[j], i + 1))

Solution (Python):
H,W = map(int,input().split())
listAl = [chr(i) for i in range(65,65+26)]
ans = 0

for i in range(H):
    listSnuke = [i for i in input().split()]
    if "snuke" in listSnuke:
        ans = listAl[listSnuke.index("snuke")] + str(i + 1)
        break
print(ans)

Solution (Python):
h,w=map(int,input().split())
alh="ABCDEFGHIJKLMNOPQRSTUVWXYZ"
for i in range(h):
  s=list(input().split())
  if("snuke" in s):
    ind=s.index("snuke")
    print(alh[ind]+str(i+1))
    break

Solution (Python):
h,w = map(int,input().split())
lis = ["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]
li = ["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26"]
for i in range(h):
    s = list(map(str,input().split()))
    for m in range(w):
        if s[m] == "snuke":
            print(lis[m] + li[i])
            exit()

Solution (Python):
def main():
    H, W = map(int, input().split())

    S = [
        input().split()
        for _ in range(H)
    ]
    for h in range(H):
        for w in range(W):
            if S[h][w] == "snuke":
                l = [chr(o) for o in range(ord("A"), ord("Z")+1)]
                ans = l[w] + str(h+1)
                print(ans)
                return


if __name__ == '__main__':
    main()

Solution (Python):
H,W=map(int,input().split())
S=[[i for i in input().split()] for j in range(H)]
for i in range(H):
    for j in range(W):
        if S[i][j]=="snuke":
            print(chr(j+65)+str(i+1))

Solution (Python):


 
 
 
def display(x, y):
    sx = chr(ord('A') + x)
    sy = str(y + 1)
    print("{}{}".format(sx, sy))
 
def main():
    H, W = map(int, input().split())
 
    for y in range(H):
        row = input().split()
        for x in range(W):
            if row[x] == "snuke":
                display(x, y)
                return
 
if __name__ == "__main__": main()

Solution (Python):





def display(x, y):
    sx = chr(ord('A') + x)
    sy = str(y + 1)
    print("{}{}".format(sx, sy))

def main():
    H, W = map(int, input().split())

    for y in range(H):
        row = input().split()
        for x in range(W):
            if row[x] == "snuke":
                display(x, y)
                return

if __name__ == "__main__": main()

Solution (Python):
H,W = map(int,input().split())
src = [input().split() for i in range(H)]
for i in range(H):
    if 'snuke' in src[i]:
        j = src[i].index('snuke')
        print(chr(ord('A')+j) + str(i+1))
        exit()

Solution (Python):

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

for i in range(H):
    S = list(input().split())
    for j in range(W):
        if 'snuke' in S[j]:
            print(chr(ord('A') + j) + str(1 + i))

Solution (Python):
h,w=map(int,input().split())
for i in range(h):
  s=list(input().split())
  for j in range(w):
    if s[j]=='snuke':
      print(chr(65+j)+str(i+1))

Solution (Python):
ALPHA_BET = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"

def solve():
	H, W = list(map(int, input().split()))
	for i in range(H):
		line = input().split()
		for j, s in enumerate(line):
			if s == "snuke":
				print(ALPHA_BET[j] + str(i+1))
				return
		
solve()

Solution (Python):
h,w = map(int, input().split())
for i in range(h):
    s = input().split()
    for j in range(w):
        if s[j] == "snuke":
            print("{}{}".format(chr(ord('A')+j), i+1))

Solution (Python):
H, W = map(int, input().split())
S = [input().split() for _ in range(H)]
for i in range(H):
    for j in range(W):
        if S[i][j] == 'snuke':
            print(chr(ord('A') + j) + str(i+1))

Solution (Python):

import sys
H, W = map(int, input().split())
word = { key:chr(key+65) for key in range(W) }
S = [ list(input().split()) for _ in range(H) ]
for h in range(H):
    for w in range(W):
        if S[h][w] == 'snuke':
            print(str(word[w])+str(h+1))
            sys.exit()
        else:
            pass

Solution (Python):
def solve():
    H, W = [int(x) for x in input().split(" ")]
    snake = []
    for _ in range(H):
        snake.append(list(map(str, input().split(" "))))

    for i in range(H):
        for j in range(W):
            if snake[i][j] == "snuke":
                print("".join([chr(65 + j), str(i + 1)]))


solve()

Solution (Python):
def solve():
    H, W = [int(x) for x in input().split(" ")]
    snake = []
    for _ in range(H):
        snake.append(list(map(str, input().split(" "))))

    for i in range(H):
        for j in range(W):
            if snake[i][j] == "snuke":
                print("".join([chr(65 + j), str(i + 1)]))


solve()

Solution (Python):
line = input().split()
H = int(line[0])
W = int(line[1])
S =[input().split() for i in range(H)]

a = ord("A")

for i in range(H):
    for j in range(W):
        if S[i][j]=="snuke":
            y = i+1
            x = chr(a+j)
            print("{0}{1}".format(x,y))
            break

Solution (Python):
h,w=map(int,input().split())
for r in range(h):
 for c,s in enumerate(input().split()):
  if s == 'snuke':
   print(chr(ord('A')+c) + str(r+1))
   exit(0)

Solution (Python):
[H, W] = raw_input().split(' ')
for i in range(int(H)):
    for index, string in enumerate(raw_input().split(' ')):
        if string == 'snuke':
            print '%s%s' % (str(unichr(index + 65)), (i+1))
            exit()

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

Solution (Python):

import string
h, w = map(int, input().split())
for y in range(h):
    ps = input().split()
    for x, p in zip(string.ascii_uppercase, ps):
        if p == 'snuke':
            print(x + str(y+1))

Solution (Python):
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time

sys.setrecursionlimit(10**7)
inf = 10**10
mod = 10**9 + 7


def f():
    h,w = list(map(int, input().split()))
    a = [input().split() for _ in range(h)]
    for i in range(h):
        if 'snuke' in a[i]:
            return "{0}{1}".format(chr(a[i].index('snuke') + ord('A')), i + 1)



print(f())

Solution (Python):
H, W = map(int, input().split())
S = [input().split() for _ in range(H)]
for r, row in enumerate(S):
    for c, s in enumerate(row):
        if s == "snuke":
            print(chr(ord('A') + c) + str(r + 1))
            quit()

Solution (Python):
h, w = map(int,input().split())
s = [list(input().split()) for i in range(h)]
ALP = [chr(i) for i in range(65, 65+26)]

for i in range(w):
    for j in range(h):
        if s[j][i] == "snuke":
            print(ALP[i] + str(j+1))
            exit()

Solution (Python):
import sys

H, W = map(int, raw_input().split())
table = [(0 for _ in range(W)) for _ in range(H)]

for x in range(H):
	table[x] = raw_input().split()

def convert_num_to_alpha(x):
	return chr(65 + x)

for x in range(H):
	for y in range(W):
		if table[x][y] == "snuke":
			print convert_num_to_alpha(y) + str(x + 1)

Solution (Python):
import sys
H,W = map(int,input().split())
S = []
A = "ABCDEFGHIJKLNMOPQRSTUVWXYZ"
for i in range(H):
    S.append(list(map(str,input().split())))

for i in range(H):
    for j in range(W):
        if S[i][j] == "snuke":
            sys.stdout.write(A[j])
            sys.stdout.write(str(i+1))

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

a=0
b=0

for i in range(H):
    str = input().split()
    for j in range(W):
        if(str[j]=='snuke'):
            a=i
            b=j

print(chr(b+ord('A')), end="")
print(a+1)

Solution (Python):
h,w=map(int,raw_input().split())

for i in range(h):
    l=map(str,raw_input().split())
    if 'snuke' in l:
        print chr(l.index('snuke')+ord('A'))+str(i+1)

Solution (Python):
h, w = map( int, raw_input().strip().split() )

for i in range(h):

    data = raw_input().strip().split()

    for j in range(w):
        if data[j] == "snuke":
            ans1 = chr( j + ord('A') )
            ans2 = str( i+1 )

print ans1 + ans2

Solution (Python):

h, w = map(int, input().split())
i = 1
while i <= h:
    s = list(input().split())
    if ('snuke' in s):
        index = s.index('snuke')
        print(chr(index + 97).upper() + str(i))
        break
    i += 1

Solution (Python):
x, y = map(int, input().split(' '))
s = [[0 for i in range(y)] for j in range(x)]

for i in range(x):
    s[i] = list(map(str, input().split(' ')))

c = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']

flag = False

for i in range(x):
    if flag == False:
        for j in range(y):
            if s[i][j] == "snuke":          
                print(c[j], end="")
                print(i+1)
                flag = True
                break

Solution (Python):
a_,b_ = map(int, (raw_input().strip().split(" ")))
foo = []
for i,a in enumerate(range(a_)):
    foo = raw_input().strip().split(" ")
    for j in range(b_):
        if foo[j] == 'snuke':
            print(chr(65 + j) + str(i + 1))

Solution (Python):
H , W = map(int,raw_input().split())
target = 'snuke'
targetH,targetW = 0 , 0
alpabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'

for i in xrange(H):
    nowLine = raw_input().split()
    if target in nowLine:
        taregtW = nowLine.index(target)
        targetH = i+1
        break

print(alpabet[taregtW]+str(targetH))